aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-06-26 10:24:41 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-06-26 10:24:41 +0000
commit3adaf7534ebb5ab505985723f9a519796467b080 (patch)
tree2011c7951b3720b3178cd82ae783b3c5ad872a7d
parentd92bdc8a76c8e1ab2f3398c84fc74750f71b4ea4 (diff)
downloadforums-3adaf7534ebb5ab505985723f9a519796467b080.tar
forums-3adaf7534ebb5ab505985723f9a519796467b080.tar.gz
forums-3adaf7534ebb5ab505985723f9a519796467b080.tar.bz2
forums-3adaf7534ebb5ab505985723f9a519796467b080.tar.xz
forums-3adaf7534ebb5ab505985723f9a519796467b080.zip
Thanks NV
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9679 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 4f099d97ac..a82854c3a4 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1242,7 +1242,7 @@ generate_forum_nav($post_data);
// Build Forum Rules
generate_forum_rules($post_data);
-if ($config['enable_post_confirm'] && !$user->data['is_registered'] && $captcha->is_solved() === false && ($mode == 'post' || $mode == 'reply' || $mode == 'quote'))
+if ($config['enable_post_confirm'] && !$user->data['is_registered'] && (isset($captcha) && $captcha->is_solved() === false) && ($mode == 'post' || $mode == 'reply' || $mode == 'quote'))
{
$captcha->reset();