more debugging on profile update

darcs-hash:20080615153123-84dde-6153ed4ad0cce6908a103a507e6f6ffcf23620f2.gz
This commit is contained in:
Evan Prodromou 2008-06-15 11:31:23 -04:00
parent 1a591681b0
commit e468474fe8

View File

@ -113,6 +113,7 @@ class ProfilesettingsAction extends SettingsAction {
$user->email = $email;
common_debug('Updating, nickname ="'.$user->nickname.'" and email ="'.$user->email.'"');
common_debug('Original, nickname ="'.$original->nickname.'" and email ="'.$original->email.'"');
if (FALSE === $user->update($original)) {
common_server_error(_t('Couldnt update user.'));