diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/core/likes/display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/core/likes/display.php b/views/default/core/likes/display.php index 4da140693..28ffafcb4 100644 --- a/views/default/core/likes/display.php +++ b/views/default/core/likes/display.php @@ -29,7 +29,7 @@ if (elgg_is_logged_in()) { $options = array( 'guid' => $guid, 'annotation_name' => 'likes', - 'owner_guid' => get_logged_in_user_guid() + 'owner_guid' => elgg_get_logged_in_user_guid() ); $likes = elgg_get_annotations($options); $url = elgg_get_site_url() . "action/likes/delete?annotation_id={$likes[0]->id}"; |