aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/captcha/plugins')
-rw-r--r--phpBB/includes/captcha/plugins/captcha_abstract.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/captcha/plugins/captcha_abstract.php b/phpBB/includes/captcha/plugins/captcha_abstract.php
index c6de2ff887..86ecdaf97e 100644
--- a/phpBB/includes/captcha/plugins/captcha_abstract.php
+++ b/phpBB/includes/captcha/plugins/captcha_abstract.php
@@ -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();
}