diff --git a/public/include/pages/register/register.inc.php b/public/include/pages/register/register.inc.php index 26fd12f5..2cdf762a 100644 --- a/public/include/pages/register/register.inc.php +++ b/public/include/pages/register/register.inc.php @@ -14,7 +14,7 @@ if ($setting->getValue('recaptcha_enabled') && $setting->getValue('recaptcha_ena ); $smarty->assign("RECAPTCHA", recaptcha_get_html($setting->getValue('recaptcha_public_key'), $rsp->error, true)); if (!$rsp->is_valid) $_SESSION['POPUP'][] = array('CONTENT' => 'Invalid Captcha, please try again.', 'TYPE' => 'errormsg'); - $recaptcha = ($rsp->isvalid) ? 1 : 0; + $recaptcha = ($rsp->is_valid) ? 1 : 0; } // csrf if enabled