//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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user