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 'plugins/Provider/functions.php')
-rw-r--r--plugins/Provider/functions.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Provider/functions.php b/plugins/Provider/functions.php
index 4397c40867..7966fe64aa 100644
--- a/plugins/Provider/functions.php
+++ b/plugins/Provider/functions.php
@@ -20,7 +20,7 @@ function Piwik_getHostnameName($in)
{
if(empty($in))
{
- return Piwik_Translate('General_Unknown');
+ return html_entity_decode(Piwik_Translate('General_Unknown'), ENT_COMPAT, 'UTF-8');
}
if(strtolower($in) === 'ip')
{
@@ -41,6 +41,10 @@ function Piwik_getHostnameName($in)
*/
function Piwik_getHostnameUrl($in)
{
+ if($in == Piwik_DataTable::LABEL_SUMMARY_ROW)
+ {
+ return false;
+ }
if(empty($in)
|| strtolower($in) === 'ip')
{