summaryrefslogtreecommitdiff
path: root/actions/profilesettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r--actions/profilesettings.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php
index b6e24c729..e98c84935 100644
--- a/actions/profilesettings.php
+++ b/actions/profilesettings.php
@@ -90,6 +90,7 @@ class ProfilesettingsAction extends SettingsAction {
return;
} else if (!User::allowed_nickname($nickname)) {
$this->show_form(_t('Not a valid nickname.'));
+ return;
} else if (!is_null($homepage) && (strlen($homepage) > 0) &&
!Validate::uri($homepage, array('allowed_schemes' => array('http', 'https')))) {
$this->show_form(_t('Homepage is not a valid URL.'));