aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user/ban.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 13:42:13 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 13:42:13 +0000
commit65770262f6108120a951e0f89df9b8d42158b8fc (patch)
treea06e2c043e2edfa94f66a9ecc1bb1f62c2db1806 /actions/admin/user/ban.php
parent99494b7a7426ad90ed6ce3b57a8a1b02ccdea631 (diff)
downloadelgg-65770262f6108120a951e0f89df9b8d42158b8fc.tar.gz
elgg-65770262f6108120a951e0f89df9b8d42158b8fc.tar.bz2
Forwards to http_referer
git-svn-id: https://code.elgg.org/elgg/trunk@1057 36083f99-b078-4883-b0ff-0f9b5a30f544
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