From 53eeee70e7eaba81b44f35d787b218f8ebaa69e6 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 May 2008 08:13:07 -0400 Subject: [PATCH] change measurement of updated profiles darcs-hash:20080521121307-84dde-1a2908c4bb85e9e9e55524f591ba02d38c8ecbc2.gz --- actions/profilesettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }