mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-08-17 07:48:48 +02:00
Error message when change user language
This commit is contained in:
parent
9791f2aacb
commit
1ab7686c3d
@ -173,9 +173,12 @@ if (isset ($_GET["modified"]) && !$view_mode) {
|
||||
// message could be confussing to the user.
|
||||
|
||||
$return = update_user ($id, $upd_info);
|
||||
ui_print_result_message ($return,
|
||||
if ($return > 0) {
|
||||
ui_print_result_message ($return,
|
||||
__('User info successfully updated'),
|
||||
__('Error updating user info'));
|
||||
}
|
||||
|
||||
$user_info = $upd_info;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user