aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user/ban.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/user/ban.php')
-rw-r--r--actions/admin/user/ban.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php
index 5f2e214c4..51884b223 100644
--- a/actions/admin/user/ban.php
+++ b/actions/admin/user/ban.php
@@ -29,6 +29,6 @@
else
system_message(elgg_echo('admin:user:ban:no'));
- header("Location: {$CONFIG->wwwroot}admin/user/");
+ forward($_SERVER['HTTP_REFERER']);
exit;
?> \ No newline at end of file