aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 2bb1329d16..247b88c63c 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -707,7 +707,7 @@ if ($submit || $preview || $refresh)
{
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
- if (($result = validate_username($post_data['username'])) !== false)
+ if (($result = validate_username($post_data['username'], $post_data['post_username'])) !== false)
{
$user->add_lang('ucp');
$error[] = $user->lang[$result . '_USERNAME'];