diff options
Diffstat (limited to 'actions/admin/plugins/disable.php')
-rw-r--r-- | actions/admin/plugins/disable.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php index ae3139ef1..f98eda84b 100644 --- a/actions/admin/plugins/disable.php +++ b/actions/admin/plugins/disable.php @@ -22,7 +22,7 @@ if (disable_plugin($plugin)) system_message(sprintf(elgg_echo('admin:plugins:disable:yes'), $plugin)); else - system_message(sprintf(elgg_echo('admin:plugins:disable:no'), $plugin)); + register_error(sprintf(elgg_echo('admin:plugins:disable:no'), $plugin)); forward($_SERVER['HTTP_REFERER']); exit; |