diff options
author | Igor Wiedler <igor@wiedler.ch> | 2010-10-04 17:17:09 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2010-10-04 17:17:09 +0200 |
commit | 8e7f2e179e14b42b5c17aba5fc87311294e61511 (patch) | |
tree | 2fe0c09a225654bf80f49607430a6e89918a208a | |
parent | e081531a21d586e0a773c40a3389a7688a7c035e (diff) | |
parent | 68b35b584536170759675204d738f9ead883a4f2 (diff) | |
download | forums-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.php | 5 |
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']; } } |