aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJeroen Dalsem <jdalsem@coldtrick.com>2011-12-06 11:50:59 +0100
committerCash Costello <cash.costello@gmail.com>2011-12-07 07:06:56 -0500
commit92c9154b816a29c70fbcebfd85ad2cf3d021ddf2 (patch)
tree77da4e8977587a77ec10f20416a90fefae4341e8 /views
parentf1c8a2dadee9a31bf941b92eb3f4030b4f89d191 (diff)
downloadelgg-92c9154b816a29c70fbcebfd85ad2cf3d021ddf2.tar.gz
elgg-92c9154b816a29c70fbcebfd85ad2cf3d021ddf2.tar.bz2
delete action expects widget_guid instead of guid
Diffstat (limited to 'views')
-rw-r--r--views/default/object/widget/elements/controls.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/object/widget/elements/controls.php b/views/default/object/widget/elements/controls.php
index 6d06d28bc..866dcc787 100644
--- a/views/default/object/widget/elements/controls.php
+++ b/views/default/object/widget/elements/controls.php
@@ -22,7 +22,7 @@ if ($widget->canEdit()) {
$params = array(
'text' => elgg_view_icon('delete-alt'),
'title' => elgg_echo('widget:delete', array($widget->getTitle())),
- 'href' => "action/widgets/delete?guid=$widget->guid",
+ 'href' => "action/widgets/delete?widget_guid=$widget->guid",
'is_action' => true,
'is_trusted' => true,
'class' => 'elgg-widget-delete-button',