changeset 456 | e133d321fce4 |
parent 322 | 5f1cd51bf1be |
child 458 | c433348f3628 |
--- a/includes/comment.php Thu Jan 31 22:28:40 2008 -0500 +++ b/includes/comment.php Fri Feb 01 22:31:57 2008 -0500 @@ -268,7 +268,7 @@ if ( getConfig('comments_need_login') == '1' && !$session->user_logged_in ) { $real_code = $session->get_captcha($data['captcha_id']); - if ( $real_code != $data['captcha_code'] ) + if ( strtolower($real_code) != strtolower($data['captcha_code']) ) $errors[] = 'The confirmation code you entered was incorrect.'; $session->kill_captcha(); }