diff options
Diffstat (limited to 'actions/admin/user/makeadmin.php')
-rw-r--r-- | actions/admin/user/makeadmin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/user/makeadmin.php b/actions/admin/user/makeadmin.php index 6e537446f..2327b5ab0 100644 --- a/actions/admin/user/makeadmin.php +++ b/actions/admin/user/makeadmin.php @@ -26,10 +26,10 @@ if ($result) system_message(elgg_echo('admin:user:makeadmin:yes')); else - system_message(elgg_echo('admin:user:makeadmin:no')); + register_error(elgg_echo('admin:user:makeadmin:no')); } else - system_message(elgg_echo('admin:user:makeadmin:no')); + register_error(elgg_echo('admin:user:makeadmin:no')); forward($_SERVER['HTTP_REFERER']); |