From 1a591681b0a5529940925718a6c79001a9aef063 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 15 Jun 2008 11:20:47 -0400 Subject: what exactly are we updating darcs-hash:20080615152047-84dde-eca46b9a1e3e0adb81a29d1b43bf87ee93e4f535.gz --- actions/profilesettings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-54-g00ecf