summaryrefslogtreecommitdiff
path: root/actions/profilesettings.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-22 12:45:42 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-22 12:45:42 -0400
commit71456d596a584dd083d2669244179a27959b8ebc (patch)
tree85220d9ac0d17a4b4c682b21ed757439ebf6c05c /actions/profilesettings.php
parent200124eca37a7e4ca108441f8806ccf9bfff58bd (diff)
debugging for profile update
darcs-hash:20080622164542-34904-e6945828677580ee30b5fb85101928633708f605.gz
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r--actions/profilesettings.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php
index 95f625de9..85e7bd19f 100644
--- a/actions/profilesettings.php
+++ b/actions/profilesettings.php
@@ -133,7 +133,7 @@ class ProfilesettingsAction extends SettingsAction {
if (strcmp($user->email, $email) != 0) {
- common_debug('Updating user email from ' . $user->nickname . ' to ' . $nickname,
+ common_debug('Updating user email from ' . $user->email . ' to ' . $email,
__FILE__);
# We don't update email directly; it gets done by confirmemail
@@ -171,6 +171,9 @@ class ProfilesettingsAction extends SettingsAction {
$profile->location = $location;
$profile->profileurl = common_profile_url($nickname);
+ common_debug('Old profile: ' . common_log_objstring($orig_profile), __FILE__);
+ common_debug('New profile: ' . common_log_objstring($profile), __FILE__);
+
$result = $profile->update($orig_profile);
if (!$result) {