mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
keep the deprecated three-letter-code
This commit is contained in:
parent
47f388a4c0
commit
f633e59091
1 changed files with 2 additions and 0 deletions
|
@ -618,6 +618,8 @@ class Validation {
|
||||||
switch ($country) {
|
switch ($country) {
|
||||||
case 'us':
|
case 'us':
|
||||||
case 'ca':
|
case 'ca':
|
||||||
|
// deprecated three-letter-code
|
||||||
|
case 'can':
|
||||||
case 'all':
|
case 'all':
|
||||||
// includes all NANPA members.
|
// includes all NANPA members.
|
||||||
// see http://en.wikipedia.org/wiki/North_American_Numbering_Plan#List_of_NANPA_countries_and_territories
|
// see http://en.wikipedia.org/wiki/North_American_Numbering_Plan#List_of_NANPA_countries_and_territories
|
||||||
|
|
Loading…
Reference in a new issue