mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 06:36:39 +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:
@ -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']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user