aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-08-23 17:39:31 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-08-23 17:39:31 +0000
commit44148941cc18e694e8395f87b03b7fc7b4727adb (patch)
treec1185f6abf047374c19ba9bd771f1e7e14f2cb28 /phpBB/includes
parent2cd45dd574b736ebb54a913c101fb9dc4ab5f415 (diff)
downloadforums-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.php1
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']);
}