Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Common.php')
-rw-r--r--core/Common.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Common.php b/core/Common.php
index 1616e56505..f884d9fe2f 100644
--- a/core/Common.php
+++ b/core/Common.php
@@ -1026,6 +1026,10 @@ class Common
$countryList = $dataProvider->getCountryList();
+ if ($country == 'ti') {
+ $country = 'cn';
+ }
+
return isset($countryList[$country]) ? $countryList[$country] : 'unk';
}