// merge 1.4 (5397)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@6048 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -251,7 +251,7 @@ class ValidateCore
|
||||
|
||||
static public function isStateIsoCode($isoCode)
|
||||
{
|
||||
return preg_match('/^[a-z0-9]{2}((-)[a-z0-9]{1,3})?$/ui', $isoCode);
|
||||
return preg_match('/^[a-z0-9]{2,3}((-)[a-z0-9]{1,3})?$/ui', $isoCode);
|
||||
}
|
||||
|
||||
static public function isNumericIsoCode($isoCode)
|
||||
|
||||
Reference in New Issue
Block a user