aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-09-25 15:24:34 +0200
committerJakub Senko <jakubsenko@gmail.com>2018-09-25 15:24:34 +0200
commitdab4c10c2fe0a2e283ecf5227ef9a253127a1381 (patch)
treef51bb70a17491f8ccce81a0a24913ff5b2010732 /phpBB/includes/functions.php
parent001f32da95d4f8697ccc9a6107afc8dc68cbe48e (diff)
downloadforums-dab4c10c2fe0a2e283ecf5227ef9a253127a1381.tar
forums-dab4c10c2fe0a2e283ecf5227ef9a253127a1381.tar.gz
forums-dab4c10c2fe0a2e283ecf5227ef9a253127a1381.tar.bz2
forums-dab4c10c2fe0a2e283ecf5227ef9a253127a1381.tar.xz
forums-dab4c10c2fe0a2e283ecf5227ef9a253127a1381.zip
[ticket/15700] Use correct T_THEME_LANG_NAME
PHPBB3-15700
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 1457888c9f..3b0ac17806 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4506,7 +4506,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
'S_COOKIE_NOTICE' => !empty($config['cookie_notice']),
'T_THEME_NAME' => rawurlencode($user->style['style_path']),
- 'T_THEME_LANG_NAME' => $user->data['user_lang'],
+ 'T_THEME_LANG_NAME' => $user->lang_name,
'T_TEMPLATE_NAME' => $user->style['style_path'],
'T_SUPER_TEMPLATE_NAME' => rawurlencode((isset($user->style['style_parent_tree']) && $user->style['style_parent_tree']) ? $user->style['style_parent_tree'] : $user->style['style_path']),
'T_IMAGES' => 'images',