diff options
Diffstat (limited to 'actions/email/confirm.php')
-rw-r--r-- | actions/email/confirm.php | 4 |
1 files changed, 2 insertions, 2 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; |