From 1950efda80012ebeded8e7da71c7293b7ee86c08 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 16:21:32 -0400 Subject: save profile url darcs-hash:20080517202132-84dde-78c7fe9f22aa28f33e9e00432f5cf6436b64e6b5.gz --- actions/profilesettings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actions/profilesettings.php') diff --git a/actions/profilesettings.php b/actions/profilesettings.php index 7779379b1..fff6e3bd9 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -78,7 +78,8 @@ class ProfilesettingsAction extends SettingsAction { $profile->homepage = $this->arg('homepage'); $profile->bio = $this->arg('bio'); $profile->location = $this->arg('location'); - + $profile->profileurl = common_profile_url($nickname); + if (!$profile->update()) { common_server_error(_t('Couldnt save profile.')); return; -- cgit v1.2.3-54-g00ecf