diff options
Diffstat (limited to 'actions/likes/delete.php')
-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 45984b581..7ccf2de37 100644 --- a/actions/likes/delete.php +++ b/actions/likes/delete.php @@ -20,7 +20,7 @@ if ($likes = get_annotation($annotation_id)) { if ($likes->canEdit()) { $likes->delete(); system_message(elgg_echo("likes:deleted")); - forward($entity->getURL()); + forward(REFERER); } } else { |