aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user/makeadmin.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/user/makeadmin.php')
-rw-r--r--actions/admin/user/makeadmin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/user/makeadmin.php b/actions/admin/user/makeadmin.php
index f8a426a41..19f365d62 100644
--- a/actions/admin/user/makeadmin.php
+++ b/actions/admin/user/makeadmin.php
@@ -26,4 +26,4 @@ if (($user instanceof ElggUser) && ($user->canEdit())) {
register_error(elgg_echo('admin:user:makeadmin:no'));
}
-forward($_SERVER['HTTP_REFERER']);
+forward(REFERER);