From: Evan Prodromou Date: Sun, 15 Jun 2008 15:20:47 +0000 (-0400) Subject: what exactly are we updating X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a591681b0a5529940925718a6c79001a9aef063;p=quix0rs-gnu-social.git what exactly are we updating darcs-hash:20080615152047-84dde-eca46b9a1e3e0adb81a29d1b43bf87ee93e4f535.gz --- diff --git a/actions/profilesettings.php b/actions/profilesettings.php index 58160a4060..dff91d5601 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; }