aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-01 22:35:50 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-01 22:35:50 +0000
commit1838b57e20dfc70c04767d1729a66a4e2ab72c4c (patch)
tree2b418e4e9033d90d58d9809b5772aecc782b213c
parenta5b06dfbcb6cdecf3b4e1f9d168711fc7faa2aad (diff)
downloadelgg-1838b57e20dfc70c04767d1729a66a4e2ab72c4c.tar.gz
elgg-1838b57e20dfc70c04767d1729a66a4e2ab72c4c.tar.bz2
Fixes #3499 using consistent menu name for likes plugin
git-svn-id: http://code.elgg.org/elgg/trunk@9126 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/likes/start.php4
1 files changed, 2 insertions, 2 deletions
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,