aboutsummaryrefslogtreecommitdiff
path: root/actions/entities
diff options
context:
space:
mode:
Diffstat (limited to 'actions/entities')
-rw-r--r--actions/entities/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/entities/delete.php b/actions/entities/delete.php
index 61913e2f8..3ec88bd04 100644
--- a/actions/entities/delete.php
+++ b/actions/entities/delete.php
@@ -21,4 +21,4 @@ if (($entity) && ($entity->canEdit())) {
register_error(sprintf(elgg_echo('entity:delete:fail'), $guid));
}
-forward($_SERVER['HTTP_REFERER']);
+forward(REFERER);