From: Evan Prodromou Date: Wed, 21 May 2008 12:13:07 +0000 (-0400) Subject: change measurement of updated profiles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=53eeee70e7eaba81b44f35d787b218f8ebaa69e6;p=quix0rs-gnu-social.git change measurement of updated profiles darcs-hash:20080521121307-84dde-1a2908c4bb85e9e9e55524f591ba02d38c8ecbc2.gz --- diff --git a/actions/profilesettings.php b/actions/profilesettings.php index 5146126bf5..c4c3ae0fc4 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; }