aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/user/delete.php')
-rw-r--r--actions/admin/user/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php
index 375f8b809..e8d835722 100644
--- a/actions/admin/user/delete.php
+++ b/actions/admin/user/delete.php
@@ -22,7 +22,7 @@ $username = $obj->username;
if (($obj instanceof ElggUser) && ($obj->canEdit())) {
if ($obj->delete()) {
- system_message(sprintf(elgg_echo('admin:user:delete:yes'), $name));
+ system_message(elgg_echo('admin:user:delete:yes', array($name)));
} else {
register_error(elgg_echo('admin:user:delete:no'));
}