mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Add some data for akismet et al
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9702 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -178,7 +178,7 @@ class phpbb_default_captcha
|
||||
return;
|
||||
}
|
||||
|
||||
function validate()
|
||||
function validate($data = false)
|
||||
{
|
||||
global $config, $db, $user;
|
||||
|
||||
@@ -344,7 +344,7 @@ class phpbb_default_captcha
|
||||
|
||||
function is_solved()
|
||||
{
|
||||
if ($this->solved === 0)
|
||||
if (request_var('confirm_code', false) && $this->solved === 0)
|
||||
{
|
||||
$this->validate();
|
||||
}
|
||||
|
Reference in New Issue
Block a user