aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-10-04 17:17:09 +0200
committerIgor Wiedler <igor@wiedler.ch>2010-10-04 17:17:09 +0200
commit8e7f2e179e14b42b5c17aba5fc87311294e61511 (patch)
tree2fe0c09a225654bf80f49607430a6e89918a208a
parente081531a21d586e0a773c40a3389a7688a7c035e (diff)
parent68b35b584536170759675204d738f9ead883a4f2 (diff)
downloadforums-8e7f2e179e14b42b5c17aba5fc87311294e61511.tar
forums-8e7f2e179e14b42b5c17aba5fc87311294e61511.tar.gz
forums-8e7f2e179e14b42b5c17aba5fc87311294e61511.tar.bz2
forums-8e7f2e179e14b42b5c17aba5fc87311294e61511.tar.xz
forums-8e7f2e179e14b42b5c17aba5fc87311294e61511.zip
Merge branch 'ticket/bantu/9829' into develop-olympus
* ticket/bantu/9829: [ticket/9829] Fix error in recaptcha validation.
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
index 0f0bfc4156..ea171dbe2c 100644
--- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
@@ -314,10 +314,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
}
else
{
- if ($answers[1] === 'incorrect-captcha-sol')
- {
- return $user->lang['RECAPTCHA_INCORRECT'];
- }
+ return $user->lang['RECAPTCHA_INCORRECT'];
}
}