Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.10.5
-
Fix Version/s: 1.10.6
-
Component/s: Zend_Validate
-
Labels:None
Description
You can't disable the locale detection in Zend_Validate_Iban when using a Zend_Config (xml).
In xml you need to specify false with a zero.
<validators> <iban> <validator>Iban</validator> <options> <locale>0</locale> </options> </iban> <validators>
but because the validator checks also the type, you can't disable it.
if ($locale !== false) { /* some code */ }
It works for me by changing the controle to (without type checking)
if ($locale != false) { /* some code */ }
and why don't you use "auto"?