1
0
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:
Henry Sudhof
2009-06-29 12:52:45 +00:00
parent a8d678cc4c
commit e146efbd16
3 changed files with 10 additions and 5 deletions

View File

@@ -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();
}