aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/language
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2015-10-30 15:25:27 +0100
committerMate Bartus <mate.bartus@gmail.com>2015-10-30 15:25:27 +0100
commit0990894cf87598f36bbc8c8bfbaa783267e17d51 (patch)
tree25bf3bab1fb659ef0511d99894864b50781290bc /phpBB/phpbb/language
parenta910c8699761a40501d7e0b807e4282925c098b9 (diff)
downloadforums-0990894cf87598f36bbc8c8bfbaa783267e17d51.tar
forums-0990894cf87598f36bbc8c8bfbaa783267e17d51.tar.gz
forums-0990894cf87598f36bbc8c8bfbaa783267e17d51.tar.bz2
forums-0990894cf87598f36bbc8c8bfbaa783267e17d51.tar.xz
forums-0990894cf87598f36bbc8c8bfbaa783267e17d51.zip
[ticket/14044] Patch language::set_fallback_array()
PHPBB3-14044
Diffstat (limited to 'phpBB/phpbb/language')
-rw-r--r--phpBB/phpbb/language/language.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/language/language.php b/phpBB/phpbb/language/language.php
index c4e48a4c0d..382d4db89e 100644
--- a/phpBB/phpbb/language/language.php
+++ b/phpBB/phpbb/language/language.php
@@ -569,12 +569,12 @@ class language
{
$fallback_array = array();
- if ($this->user_language !== false)
+ if ($this->user_language)
{
$fallback_array[] = $this->user_language;
}
- if ($this->default_language !== false)
+ if ($this->default_language)
{
$fallback_array[] = $this->default_language;
}