aboutsummaryrefslogtreecommitdiff
path: root/actions/notifications/settings/usersettings/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/notifications/settings/usersettings/save.php')
-rw-r--r--actions/notifications/settings/usersettings/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/notifications/settings/usersettings/save.php b/actions/notifications/settings/usersettings/save.php
index 2748a7150..5f486553d 100644
--- a/actions/notifications/settings/usersettings/save.php
+++ b/actions/notifications/settings/usersettings/save.php
@@ -21,7 +21,7 @@
if (!$result)
{
- system_message(elgg_echo('notifications:usersettings:save:fail'));
+ register_error(elgg_echo('notifications:usersettings:save:fail'));
//forward($_SERVER['HTTP_REFERER']);
//exit;
@@ -31,7 +31,7 @@
if ($result)
system_message(elgg_echo('notifications:usersettings:save:ok'));
else
- system_message(elgg_echo('notifications:usersettings:save:fail'));
+ register_error(elgg_echo('notifications:usersettings:save:fail'));
//forward($_SERVER['HTTP_REFERER']);
?> \ No newline at end of file