From 2e941d3d38530fbc1979a6eb72b3b43adee64d14 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 24 Feb 2007 12:31:21 +0000 Subject: trying to fix some bugs... git-svn-id: file:///svn/phpbb/trunk@7054 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/posting.php') 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']; -- cgit v1.2.1