summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-21 08:13:07 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-21 08:13:07 -0400
commit53eeee70e7eaba81b44f35d787b218f8ebaa69e6 (patch)
treea479ba5b96e7d63ab5be561752248986b0a64db1
parent289c44141d7d6aabd924f6543c1a49df5b3444c4 (diff)
change measurement of updated profiles
darcs-hash:20080521121307-84dde-1a2908c4bb85e9e9e55524f591ba02d38c8ecbc2.gz
-rw-r--r--actions/profilesettings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php
index 5146126bf..c4c3ae0fc 100644
--- a/actions/profilesettings.php
+++ b/actions/profilesettings.php
@@ -117,7 +117,7 @@ class ProfilesettingsAction extends SettingsAction {
$profile->location = $location;
$profile->profileurl = common_profile_url($nickname);
- if (!$profile->update($orig_profile)) {
+ if (FALSE === $profile->update($orig_profile)) {
common_server_error(_t('Couldnt save profile.'));
return;
}