aboutsummaryrefslogtreecommitdiff
path: root/actions/useradd.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/useradd.php')
-rw-r--r--actions/useradd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/useradd.php b/actions/useradd.php
index fd89f0b5d..dea49f84a 100644
--- a/actions/useradd.php
+++ b/actions/useradd.php
@@ -41,7 +41,7 @@
system_message(sprintf(elgg_echo("adduser:ok"),$CONFIG->sitename));
} else {
- system_message(elgg_echo("adduser:bad"));
+ register_error(elgg_echo("adduser:bad"));
}
forward($_SERVER['HTTP_REFERER']);