mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-10 17:45:18 +02:00
a tiny fix to the language code. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8785 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2cd45dd574
commit
44148941cc
@ -1855,6 +1855,7 @@ class user extends session
|
||||
// Make sure the language name is set (if the user setup did not happen it is not set)
|
||||
if (!$this->lang_name)
|
||||
{
|
||||
global $config;
|
||||
$this->lang_name = basename($config['default_lang']);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user