aboutsummaryrefslogtreecommitdiff
path: root/actions/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'actions/plugins')
-rw-r--r--actions/plugins/settings/save.php2
-rw-r--r--actions/plugins/usersettings/save.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/plugins/settings/save.php b/actions/plugins/settings/save.php
index e1e53a2a6..c6c0bbaa5 100644
--- a/actions/plugins/settings/save.php
+++ b/actions/plugins/settings/save.php
@@ -25,7 +25,7 @@
// Error?
if (!$result)
{
- system_message(sprintf(elgg_echo('plugins:settings:save:fail'), $plugin));
+ register_error(sprintf(elgg_echo('plugins:settings:save:fail'), $plugin));
forward($_SERVER['HTTP_REFERER']);
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php
index aba759ea2..f8721f2e2 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -25,7 +25,7 @@
// Error?
if (!$result)
{
- system_message(sprintf(elgg_echo('plugins:usersettings:save:fail'), $plugin));
+ register_error(sprintf(elgg_echo('plugins:usersettings:save:fail'), $plugin));
forward($_SERVER['HTTP_REFERER']);