diff options
author | Sem <sembrestels@riseup.net> | 2012-08-28 18:43:39 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-08-28 18:43:39 +0200 |
commit | f3f3561b7ce6462e4f75649bab874b3112867dc3 (patch) | |
tree | d017b2d5aff45549d2a08c2558553c51edb10a83 /engine/lib/navigation.php | |
parent | afa701d29525b8ebd3782d3efa6838c14ff9cc54 (diff) | |
parent | 9ccbd106a87a1742a61cc4df0e9ead921046772a (diff) | |
download | elgg-f3f3561b7ce6462e4f75649bab874b3112867dc3.tar.gz elgg-f3f3561b7ce6462e4f75649bab874b3112867dc3.tar.bz2 |
Merge branch '1.8' of git://github.com/Elgg/Elgg into lorea-preprod
Diffstat (limited to 'engine/lib/navigation.php')
-rw-r--r-- | engine/lib/navigation.php | 3 |
1 files changed, 1 insertions, 2 deletions
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); |