diff options
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r-- | actions/profilesettings.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php index 58160a406..dff91d560 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -112,7 +112,9 @@ class ProfilesettingsAction extends SettingsAction { $user->nickname = $nickname; $user->email = $email; - if (!$user->update($original)) { + common_debug('Updating, nickname ="'.$user->nickname.'" and email ="'.$user->email.'"'); + + if (FALSE === $user->update($original)) { common_server_error(_t('Couldnt update user.')); return; } |