aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
index adc0811a57..35f42848b3 100644
--- a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
@@ -354,7 +354,8 @@ class phpbb_captcha_qa
if (strlen($error))
{
// okay, incorrect answer. Let's ask a new question.
- $this->new_attempt();
+ // $this->new_attempt();
+ $this->solved = false;
return $error;
}
else
@@ -433,7 +434,7 @@ class phpbb_captcha_qa
function load_answer()
{
global $db, $user;
-
+
$sql = 'SELECT con.question_id, attempts, question_text, strict
FROM ' . CAPTCHA_QA_CONFIRM_TABLE . ' con, ' . CAPTCHA_QUESTIONS_TABLE . " qes
WHERE con.question_id = qes.question_id