summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/User.php b/classes/User.php
index aa9fbf948..fade0f35d 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -206,6 +206,7 @@ class User extends Memcached_DataObject
if(! User::allowed_nickname($nickname)){
common_log(LOG_WARNING, sprintf("Attempted to register a nickname that is not allowed: %s", $profile->nickname),
__FILE__);
+ return false;
}
$profile->profileurl = common_profile_url($nickname);