diff --git a/QuestyCaptcha/QuestyCaptcha.class.php b/QuestyCaptcha/QuestyCaptcha.class.php index 2e5274a80..7f0f3565c 100644 --- a/QuestyCaptcha/QuestyCaptcha.class.php +++ b/QuestyCaptcha/QuestyCaptcha.class.php @@ -13,7 +13,7 @@ class QuestyCaptcha extends SimpleCaptcha { /** Validate a captcha response */ function keyMatch( $answer, $info ) { if ( is_array( $info['answer'] ) ) { - return in_array( strtolower( $answer ), $info['answer'] ); + return in_array( strtolower( $answer ), array_map( 'strtolower', $info['answer'] ) ); } else { return strtolower( $answer ) == strtolower( $info['answer'] ); }