aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 1e8ac31662..7435e2e90c 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -766,7 +766,7 @@ if ($submit || $preview || $refresh)
}
// check form
- if (($submit || $preview) && !check_form_key('posting', false, '', false, 2))
+ if (($submit || $preview) && !check_form_key('posting'))
{
$error[] = $user->lang['FORM_INVALID'];
}