aboutsummaryrefslogtreecommitdiff
path: root/actions/likes/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/likes/delete.php')
-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 3ca82308d..45984b581 100644
--- a/actions/likes/delete.php
+++ b/actions/likes/delete.php
@@ -28,4 +28,4 @@ if ($likes = get_annotation($annotation_id)) {
}
register_error(elgg_echo("likes:notdeleted"));
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file