From 1838b57e20dfc70c04767d1729a66a4e2ab72c4c Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 1 Jun 2011 22:35:50 +0000 Subject: Fixes #3499 using consistent menu name for likes plugin git-svn-id: http://code.elgg.org/elgg/trunk@9126 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/likes/start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/likes/start.php b/mod/likes/start.php index 435e7a3ab..638f2028c 100644 --- a/mod/likes/start.php +++ b/mod/likes/start.php @@ -54,7 +54,7 @@ function likes_river_menu_setup($hook, $type, $return, $params) { // user has not liked this yet $url = "action/likes/add?guid={$object->getGUID()}"; $options = array( - 'name' => 'like', + 'name' => 'likes', 'href' => $url, 'text' => elgg_view('likes/display', array('entity' => $object)), 'is_action' => true, @@ -69,7 +69,7 @@ function likes_river_menu_setup($hook, $type, $return, $params) { )); $url = elgg_get_site_url() . "action/likes/delete?annotation_id={$likes[0]->id}"; $options = array( - 'name' => 'like', + 'name' => 'likes', 'href' => $url, 'text' => elgg_view('likes/display', array('entity' => $object)), 'is_action' => true, -- cgit v1.2.3