MDL-15682 fixed isset() test

This commit is contained in:
skodak
2008-09-25 07:41:30 +00:00
parent 53e242f9d1
commit 6dfd522656
+1 -1
View File
@@ -8,7 +8,7 @@
*/
function signup_captcha_enabled() {
global $CFG;
return isset($CFG->recaptchapublickey) && isset($CFG->recaptchaprivatekey) && get_config('auth/email', 'recaptcha');
return !empty($CFG->recaptchapublickey) && !empty($CFG->recaptchaprivatekey) && get_config('auth/email', 'recaptcha');
}
require_once('signup_form.php');