mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 05:25:01 +02:00
don't pick a new question without an explicit reset call
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9997 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3896638727
commit
6cc55a3436
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user