aboutsummaryrefslogtreecommitdiff
path: root/actions/comments/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/comments/delete.php')
-rw-r--r--actions/comments/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/comments/delete.php b/actions/comments/delete.php
index 47c988d51..d0f5c7b84 100644
--- a/actions/comments/delete.php
+++ b/actions/comments/delete.php
@@ -27,4 +27,4 @@ if ($comment = get_annotation($annotation_id)) {
}
register_error(elgg_echo("generic_comment:notdeleted"));
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file