//small fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17837 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-10-11 15:21:08 +00:00
parent 88bbc15407
commit f92c416b2f
+1 -1
View File
@@ -262,7 +262,7 @@ class ValidateCore
public static function isStateIsoCode($iso_code)
{
return preg_match('/^[a-zA-Z0-9]{1,3}((-)[a-zA-Z0-9]{1,3})?$/', $iso_code);
return preg_match('/^[a-zA-Z0-9]{1,4}((-)[a-zA-Z0-9]{1,4})?$/', $iso_code);
}
public static function isNumericIsoCode($iso_code)