diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-08-23 17:39:31 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-08-23 17:39:31 +0000 |
commit | 44148941cc18e694e8395f87b03b7fc7b4727adb (patch) | |
tree | c1185f6abf047374c19ba9bd771f1e7e14f2cb28 /phpBB/includes | |
parent | 2cd45dd574b736ebb54a913c101fb9dc4ab5f415 (diff) | |
download | forums-44148941cc18e694e8395f87b03b7fc7b4727adb.tar forums-44148941cc18e694e8395f87b03b7fc7b4727adb.tar.gz forums-44148941cc18e694e8395f87b03b7fc7b4727adb.tar.bz2 forums-44148941cc18e694e8395f87b03b7fc7b4727adb.tar.xz forums-44148941cc18e694e8395f87b03b7fc7b4727adb.zip |
a tiny fix to the language code. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8785 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/session.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 93e0211e33..f7a734abda 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -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']); } |