Applying similar corrections in file and checkstyle result
authorFrederic Guzman <frederickgzmn@gmail.com>
Thu, 6 Oct 2016 19:59:30 +0000 (15:59 -0400)
committerGitHub <noreply@github.com>
Thu, 6 Oct 2016 19:59:30 +0000 (15:59 -0400)
CRM/Utils/Address.php

index 4aa2c6ae7886e3a5624a7cff5db676dc65bd00ea..c8602fa5e23a86c6f99267521d76f88c87aed58e 100644 (file)
@@ -106,11 +106,11 @@ class CRM_Utils_Address {
         }
         else {
           //Capitalization display on uppercase to contries with special characters
-          $fields['country'] = mb_convert_case($fields['country'], MB_CASE_UPPER,"UTF-8");
+          $fields['country'] = mb_convert_case($fields['country'], MB_CASE_UPPER, "UTF-8");
         }
       }
       else {
-        $fields['country'] = strtoupper($fields['country']);
+          $fields['country'] = mb_convert_case($fields['country'], MB_CASE_UPPER, "UTF-8");
       }
     }