diff --git a/index.php b/index.php index 8676ee6..97d3fe0 100644 --- a/index.php +++ b/index.php @@ -96,7 +96,7 @@ $_COOKIE['email'] = $email; } - if($captcha != $captcha_answer) { + if($captcha != $captcha_answer || empty($captcha_answer)) { if(!empty($img['tmp_name'])) @unlink($img['tmp_name']); return 'Invalid CAPTCHA answer, copy the text on the left into the box';