aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 3cdf18449d..f8589b274f 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1436,7 +1436,7 @@ function validate_username($username, $allowed_username = false)
}
else if ($mbstring)
{
- $regex = '[-\]_+ [[:upper:][:lower:][:digit:]]+';
+ $regex = '[-\]_+ \[[:upper:][:lower:][:digit:]]+';
}
else
{