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 0b25b71a0..16c256535 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -213,6 +213,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);