diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-15 11:20:47 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-15 11:20:47 -0400 |
commit | 1a591681b0a5529940925718a6c79001a9aef063 (patch) | |
tree | f5283f3747e235b31e7590abd771d27cebd9174b /actions | |
parent | 449343361153102ac0b3b4d4e08badf4826941dd (diff) |
what exactly are we updating
darcs-hash:20080615152047-84dde-eca46b9a1e3e0adb81a29d1b43bf87ee93e4f535.gz
Diffstat (limited to 'actions')
-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; } |