diff options
Diffstat (limited to 'actions/likes')
-rw-r--r-- | actions/likes/delete.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/likes/delete.php b/actions/likes/delete.php index 168818a60..7d535052d 100644 --- a/actions/likes/delete.php +++ b/actions/likes/delete.php @@ -13,7 +13,7 @@ if (!elgg_is_logged_in()) { // Make sure we can get the comment in question $annotation_id = (int) get_input('annotation_id'); -if ($likes = get_annotation($annotation_id)) { +if ($likes = elgg_get_annotation_from_id($annotation_id)) { $entity = get_entity($likes->entity_guid); |