This commit is contained in:
xisi 2014-01-21 06:51:56 -05:00
parent 6bb9ccb8e7
commit c88a14bac1

View File

@ -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