what exactly are we updating

darcs-hash:20080615152047-84dde-eca46b9a1e3e0adb81a29d1b43bf87ee93e4f535.gz
This commit is contained in:
Evan Prodromou 2008-06-15 11:20:47 -04:00
parent 4493433611
commit 1a591681b0

View File

@ -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;
}