From 24ee620c1b33d550d704df0fc3259c0a9bce59cb Mon Sep 17 00:00:00 2001 From: Sem Date: Tue, 31 Jul 2012 21:25:47 +0200 Subject: Fixes #4774. Added tokens insted is_action param in delete river menu item. --- engine/lib/navigation.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engine/lib') diff --git a/engine/lib/navigation.php b/engine/lib/navigation.php index 10b11acfe..8c3952594 100644 --- a/engine/lib/navigation.php +++ b/engine/lib/navigation.php @@ -339,11 +339,10 @@ function elgg_river_menu_setup($hook, $type, $return, $params) { if (elgg_is_admin_logged_in()) { $options = array( 'name' => 'delete', - 'href' => "action/river/delete?id=$item->id", + 'href' => elgg_add_action_tokens_to_url("action/river/delete?id=$item->id"), 'text' => elgg_view_icon('delete'), 'title' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), - 'is_action' => true, 'priority' => 200, ); $return[] = ElggMenuItem::factory($options); -- cgit v1.2.3