aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/likes/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/likes/delete.php b/actions/likes/delete.php
index cbb89f67a..a774c06e1 100644
--- a/actions/likes/delete.php
+++ b/actions/likes/delete.php
@@ -29,4 +29,4 @@ if ($likes = get_annotation($annotation_id)) {
}
register_error(elgg_echo("likes:notdeleted"));
-forward($entity->getURL()); \ No newline at end of file
+forward($_SERVER['HTTP_REFERER']); \ No newline at end of file