[Validator] Adding strtolower() to ignore case (fixes #12)

This commit is contained in:
Gregwar 2011-12-14 10:18:38 +01:00
parent a3ce06f263
commit bfd012ffe0

View File

@ -63,6 +63,6 @@ class CaptchaValidator implements FormValidatorInterface
*/
private function niceize($code)
{
return strtr($code, 'oil', '01l');
return strtr(strtolower($code), 'oil', '01l');
}
}