From fbb8ae601ad3ca52faaa965b5b89c45c7f0ca409 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Mon, 2 Jul 2007 16:33:20 +0000 Subject: #11349 git-svn-id: file:///svn/phpbb/trunk@7823 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 d2087df1f8..88de7fe2d4 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -720,7 +720,7 @@ if ($submit || $preview || $refresh) } // Validate username - if (($post_data['username'] && !$user->data['is_registered']) || ($mode == 'edit' && $post_data['username'] && $post_data['post_username'] && $post_data['post_username'] != $post_data['username'])) + if (($post_data['username'] && !$user->data['is_registered']) || ($mode == 'edit' && $post_data['poster_id'] == ANONYMOUS && $post_data['username'] && $post_data['post_username'] && $post_data['post_username'] != $post_data['username'])) { include($phpbb_root_path . 'includes/functions_user.' . $phpEx); -- cgit v1.2.1