aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/widget/elements/controls.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-16 12:33:57 -0400
committerCash Costello <cash.costello@gmail.com>2012-06-16 12:33:57 -0400
commit7d8064039f17059c4d87112dd107f828cf6c661a (patch)
treecf0ef85cd66ecf710455dc23390b07435ef3e1fa /views/default/object/widget/elements/controls.php
parentc58102ebcf60334f6902ba1df1aaee7104f6ba0d (diff)
downloadelgg-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.php4
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',
));