mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14044] Patch language::set_fallback_array()
PHPBB3-14044
This commit is contained in:
parent
a910c86997
commit
0990894cf8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue