From f633e59091c41e42741971df7aeb6aa4c21c8d58 Mon Sep 17 00:00:00 2001 From: euromark Date: Sun, 24 Mar 2013 11:08:40 +0100 Subject: [PATCH] keep the deprecated three-letter-code --- lib/Cake/Utility/Validation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Cake/Utility/Validation.php b/lib/Cake/Utility/Validation.php index 2cb7716ce..342a6fbcc 100644 --- a/lib/Cake/Utility/Validation.php +++ b/lib/Cake/Utility/Validation.php @@ -618,6 +618,8 @@ class Validation { switch ($country) { case 'us': case 'ca': + // deprecated three-letter-code + case 'can': case 'all': // includes all NANPA members. // see http://en.wikipedia.org/wiki/North_American_Numbering_Plan#List_of_NANPA_countries_and_territories