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:
-rw-r--r--core/Translate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Translate.php b/core/Translate.php
index 40b4b96969..937fd10ea2 100644
--- a/core/Translate.php
+++ b/core/Translate.php
@@ -60,7 +60,7 @@ class Piwik_Translate
$GLOBALS['Piwik_translations'] = array();
}
// we could check that no string overlap here
- $GLOBALS['Piwik_translations'] = array_merge($GLOBALS['Piwik_translations'], $translation);
+ $GLOBALS['Piwik_translations'] = array_filter(array_merge($GLOBALS['Piwik_translations'], $translation), 'strlen');
}
/**