fix captcha

This commit is contained in:
Evgeny Gryaznov 2011-02-21 01:08:47 +01:00
parent acfd461617
commit c48cf51e58

View File

@ -88,7 +88,7 @@ if($settings["enablecaptcha"] == "1" && can_show_captcha()) {
if(empty($original) || empty($captcha) || $captcha != $original) { if(empty($original) || empty($captcha) || $captcha != $original) {
$errors[] = getlocal('errors.captcha'); $errors[] = getlocal('errors.captcha');
} }
unset($_SESSION['captcha']); unset($_SESSION['mibew_captcha']);
} }
if( count($errors) > 0 ) { if( count($errors) > 0 ) {