summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}