]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
change measurement of updated profiles
authorEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 12:13:07 +0000 (08:13 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 12:13:07 +0000 (08:13 -0400)
darcs-hash:20080521121307-84dde-1a2908c4bb85e9e9e55524f591ba02d38c8ecbc2.gz

actions/profilesettings.php

index 5146126bf5ac925d64aca372ea6c1741e4d42ecf..c4c3ae0fc4410b1c856d642208744fd1d05d2c00 100644 (file)
@@ -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;
                }