diff options
Diffstat (limited to 'modules/recaptcha/helpers')
-rw-r--r-- | modules/recaptcha/helpers/recaptcha.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/recaptcha/helpers/recaptcha.php b/modules/recaptcha/helpers/recaptcha.php index 2b3b869c..5df22cbc 100644 --- a/modules/recaptcha/helpers/recaptcha.php +++ b/modules/recaptcha/helpers/recaptcha.php @@ -60,7 +60,7 @@ class recaptcha_Core { * @return boolean */ static function verify_key($private_key_input) { - if (empty($private_key_input->value)) { + if (!$private_key_input->value) { $private_key_input->add_error("required", 1); return; } |