diff options
-rw-r--r-- | core/Translate.php | 2 |
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'); } /** |