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 a357e565c6..e57fe60407 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -628,7 +628,7 @@ if ($submit || $preview || $refresh)
$confirm_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
- if ($confirm_row['code'] !== $confirm_code)
+ if (strcasecmp($confirm_row['code'], $confirm_code) == 0)
{
$error[] = $user->lang['CONFIRM_CODE_WRONG'];
}