diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-16 12:33:57 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-16 12:33:57 -0400 |
commit | 7d8064039f17059c4d87112dd107f828cf6c661a (patch) | |
tree | cf0ef85cd66ecf710455dc23390b07435ef3e1fa /views/default/object/widget/elements/controls.php | |
parent | c58102ebcf60334f6902ba1df1aaee7104f6ba0d (diff) | |
download | elgg-7d8064039f17059c4d87112dd107f828cf6c661a.tar.gz elgg-7d8064039f17059c4d87112dd107f828cf6c661a.tar.bz2 |
Fixes #3463 not showing edit icon for widgets when nothing to edit
Diffstat (limited to 'views/default/object/widget/elements/controls.php')
-rw-r--r-- | views/default/object/widget/elements/controls.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/views/default/object/widget/elements/controls.php b/views/default/object/widget/elements/controls.php index d1d630c4f..57a935f62 100644 --- a/views/default/object/widget/elements/controls.php +++ b/views/default/object/widget/elements/controls.php @@ -8,9 +8,7 @@ echo elgg_view_menu('widget', array( 'entity' => elgg_extract('widget', $vars), - 'params' => array( - 'show_edit' => elgg_extract('show_edit', $vars, true) - ), + 'show_edit' => elgg_extract('show_edit', $vars, true), 'sort_by' => 'priority', 'class' => 'elgg-menu-hz', )); |