change measurement of updated profiles

darcs-hash:20080521121307-84dde-1a2908c4bb85e9e9e55524f591ba02d38c8ecbc2.gz
This commit is contained in:
Evan Prodromou 2008-05-21 08:13:07 -04:00
parent 289c44141d
commit 53eeee70e7
1 changed files with 1 additions and 1 deletions

View 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;
}