diff options
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r-- | actions/profilesettings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php index a0c9527a2..e65840bda 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -76,7 +76,7 @@ class ProfilesettingsAction extends SettingsAction { $this->show_form(_t('Error saving user; invalid.')); return; } - + if (!$user->update($original)) { common_server_error(_t('Couldnt update user.')); return; @@ -99,7 +99,7 @@ class ProfilesettingsAction extends SettingsAction { $this->show_form(_t('Error saving profile; invalid.')); return; } - + if (!$profile->update($orig_profile)) { common_server_error(_t('Couldnt save profile.')); return; |