diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2014-08-20 15:45:45 +0400 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2014-08-20 15:45:45 +0400 |
commit | 880ba14b55d37986696c5637ef017f163a3ea70d (patch) | |
tree | 3495aa4b683ab31a30a67f3d642e2a617823510b /core/Common.php | |
parent | 90f65a0343d2c7af26afb4f6dd04a617267ab52a (diff) |
refs #6026 test for empty in case getenv returns false
Diffstat (limited to 'core/Common.php')
-rw-r--r-- | core/Common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Common.php b/core/Common.php index 3b49dc9bd9..ecfefabcec 100644 --- a/core/Common.php +++ b/core/Common.php @@ -857,7 +857,7 @@ class Common } } - if (is_null($browserLang)) { + if (empty($browserLang)) { // a fallback might be to infer the language in HTTP_USER_AGENT (i.e., localized build) $browserLang = ""; } else { |