diff options
Diffstat (limited to 'actions/admin/user/ban.php')
-rw-r--r-- | actions/admin/user/ban.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php index 51884b223..48f528036 100644 --- a/actions/admin/user/ban.php +++ b/actions/admin/user/ban.php @@ -24,10 +24,10 @@ if ($obj->disable()) system_message(elgg_echo('admin:user:ban:yes')); else - system_message(elgg_echo('admin:user:ban:no')); + register_error(elgg_echo('admin:user:ban:no')); } else - system_message(elgg_echo('admin:user:ban:no')); + register_error(elgg_echo('admin:user:ban:no')); forward($_SERVER['HTTP_REFERER']); exit; |