diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-17 01:52:35 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-17 01:52:35 +0000 |
commit | cb3dbb5c961010ca32067f76fe666fe3162f42ce (patch) | |
tree | 23f5734e9a2a88119b35d289ae7a48ff68ad5f46 | |
parent | ea8566de957d3214e8d7925d90bb12ae48c5c92b (diff) | |
download | elgg-cb3dbb5c961010ca32067f76fe666fe3162f42ce.tar.gz elgg-cb3dbb5c961010ca32067f76fe666fe3162f42ce.tar.bz2 |
Fixes #3153. Fixed incorrect options.
git-svn-id: http://code.elgg.org/elgg/trunk@8745 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/likes/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/likes/start.php b/mod/likes/start.php index 97823087a..ef46c9ef2 100644 --- a/mod/likes/start.php +++ b/mod/likes/start.php @@ -63,9 +63,9 @@ function likes_river_menu_setup($hook, $type, $return, $params) { } else { // user has liked this $likes = elgg_get_annotations(array( - 'guid' => $guid, + 'guid' => $object->getGUID(), 'annotation_name' => 'likes', - 'owner_guid' => elgg_get_logged_in_user_guid() + 'annotation_owner_guid' => elgg_get_logged_in_user_guid() )); $url = elgg_get_site_url() . "action/likes/delete?annotation_id={$likes[0]->id}"; $options = array( |