diff options
Diffstat (limited to 'actions/email')
-rw-r--r-- | actions/email/confirm.php | 4 | ||||
-rw-r--r-- | actions/email/save.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/actions/email/confirm.php b/actions/email/confirm.php index 8ba54347e..b11c790d7 100644 --- a/actions/email/confirm.php +++ b/actions/email/confirm.php @@ -29,10 +29,10 @@ notify_user($user_guid, $CONFIG->site->guid, elgg_echo('email:validate:success:subject'), sprintf(elgg_echo('email:validate:success:body'), $user->username), NULL, 'email'); } else - system_message(elgg_echo('email:confirm:fail')); + register_error(elgg_echo('email:confirm:fail')); } else - system_message(elgg_echo('email:confirm:fail')); + register_error(elgg_echo('email:confirm:fail')); forward($_SERVER['HTTP_REFERER']); exit; diff --git a/actions/email/save.php b/actions/email/save.php index 79cc40c6d..a3eb5e3cf 100644 --- a/actions/email/save.php +++ b/actions/email/save.php @@ -34,11 +34,11 @@ system_message(elgg_echo('email:save:success')); } else - system_message(elgg_echo('email:save:fail'));
+ register_error(elgg_echo('email:save:fail'));
} } else - system_message(elgg_echo('email:save:fail')); + register_error(elgg_echo('email:save:fail')); //forward($_SERVER['HTTP_REFERER']); //exit; |