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:
authorrobocoder <anthon.pang@gmail.com>2011-03-25 23:02:40 +0300
committerrobocoder <anthon.pang@gmail.com>2011-03-25 23:02:40 +0300
commit8af547dd1bf5a0cf7781d286f7c7b68f470ec39a (patch)
treebba3207ff4823f2bfe4a36c734ed094d2a7b7dbb /plugins/UserCountry
parent64dc89f155696ccf9077d2c810c20ee75befe230 (diff)
fixes #2217
git-svn-id: http://dev.piwik.org/svn/trunk@4181 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r--plugins/UserCountry/functions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/UserCountry/functions.php b/plugins/UserCountry/functions.php
index 5281f5c0b6..1642258856 100644
--- a/plugins/UserCountry/functions.php
+++ b/plugins/UserCountry/functions.php
@@ -38,9 +38,9 @@ function Piwik_ContinentTranslate($label)
{
if($label == 'unk' || $label == '')
{
- return html_entity_decode(Piwik_Translate('General_Unknown'), ENT_COMPAT, 'UTF-8');
+ return Piwik_Translate('General_Unknown');
}
- return html_entity_decode(Piwik_Translate('UserCountry_continent_'. $label), ENT_COMPAT, 'UTF-8');
+ return Piwik_Translate('UserCountry_continent_'. $label);
}
/**
@@ -53,7 +53,7 @@ function Piwik_CountryTranslate($label)
{
if($label == 'xx' || $label == '')
{
- return html_entity_decode(Piwik_Translate('General_Unknown'), ENT_COMPAT, 'UTF-8');
+ return Piwik_Translate('General_Unknown');
}
- return html_entity_decode(Piwik_Translate('UserCountry_country_'. $label), ENT_COMPAT, 'UTF-8');
+ return Piwik_Translate('UserCountry_country_'. $label);
}