summaryrefslogtreecommitdiff
path: root/actions/profilesettings.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-15 11:20:47 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-15 11:20:47 -0400
commit1a591681b0a5529940925718a6c79001a9aef063 (patch)
treef5283f3747e235b31e7590abd771d27cebd9174b /actions/profilesettings.php
parent449343361153102ac0b3b4d4e08badf4826941dd (diff)
what exactly are we updating
darcs-hash:20080615152047-84dde-eca46b9a1e3e0adb81a29d1b43bf87ee93e4f535.gz
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r--actions/profilesettings.php4
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;
}