diff options
Diffstat (limited to 'actions/user/language.php')
-rw-r--r-- | actions/user/language.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/user/language.php b/actions/user/language.php index f0b91791e..77168cd34 100644 --- a/actions/user/language.php +++ b/actions/user/language.php @@ -30,10 +30,10 @@ if ($user->save()) system_message(elgg_echo('user:language:success')); else - system_message(elgg_echo('user:language:fail')); + register_error(elgg_echo('user:language:fail')); } else - system_message(elgg_echo('user:language:fail')); + register_error(elgg_echo('user:language:fail')); //forward($_SERVER['HTTP_REFERER']); //exit; |