[Validator] Adding strtolower() to ignore case (fixes #12)
This commit is contained in:
parent
a3ce06f263
commit
bfd012ffe0
|
@ -63,6 +63,6 @@ class CaptchaValidator implements FormValidatorInterface
|
||||||
*/
|
*/
|
||||||
private function niceize($code)
|
private function niceize($code)
|
||||||
{
|
{
|
||||||
return strtr($code, 'oil', '01l');
|
return strtr(strtolower($code), 'oil', '01l');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue