summaryrefslogtreecommitdiff
path: root/actions/profilesettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r--actions/profilesettings.php3
1 files changed, 2 insertions, 1 deletions
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;