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:
authormattpiwik <matthieu.aubry@gmail.com>2009-02-11 02:04:59 +0300
committermattpiwik <matthieu.aubry@gmail.com>2009-02-11 02:04:59 +0300
commitf3ee0a6589fbcfbae33caf67543d51120021c535 (patch)
tree8ff26b8299eddbaf0dc1cd5b248cbcd5eb1fb7df /core/Translate.php
parent9a14defb8937a33249f9b8bdb327afb85c3a1745 (diff)
git-svn-id: http://dev.piwik.org/svn/trunk@885 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Translate.php')
-rw-r--r--core/Translate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Translate.php b/core/Translate.php
index e12150f492..7960b408ca 100644
--- a/core/Translate.php
+++ b/core/Translate.php
@@ -71,7 +71,7 @@ class Piwik_Translate
$language = null;
Piwik_PostEvent('Translate.getLanguageToLoad', $language);
- if(is_null($language))
+ if(is_null($language) || empty($language))
{
$language = Zend_Registry::get('config')->General->default_language;
}