aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/enableall.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/plugins/enableall.php')
-rw-r--r--actions/admin/plugins/enableall.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/plugins/enableall.php b/actions/admin/plugins/enableall.php
index b959c235f..9a2df00dc 100644
--- a/actions/admin/plugins/enableall.php
+++ b/actions/admin/plugins/enableall.php
@@ -16,9 +16,9 @@ $plugins = get_installed_plugins();
foreach ($plugins as $p => $data) {
if (enable_plugin($p)) {
elgg_delete_admin_notice('first_installation_plugin_reminder');
- system_message(sprintf(elgg_echo('admin:plugins:enable:yes'), $p));
+ system_message(elgg_echo('admin:plugins:enable:yes', array($p)));
} else {
- register_error(sprintf(elgg_echo('admin:plugins:enable:no'), $p));
+ register_error(elgg_echo('admin:plugins:enable:no', array($p)));
}
}