aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/page_header.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/page_header.php')
-rw-r--r--phpBB/includes/page_header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php
index fd2b059511..fe33ff252c 100644
--- a/phpBB/includes/page_header.php
+++ b/phpBB/includes/page_header.php
@@ -348,7 +348,7 @@ $template->assign_vars(array(
'S_CONTENT_ENCODING' => $lang['ENCODING'],
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'],
- 'S_TIMEZONE' => sprintf($lang['All_times'], $lang[$board_config['board_timezone']]),
+ 'S_TIMEZONE' => sprintf($lang['All_times'], $lang[floatval($board_config['board_timezone'])]),
'S_LOGIN_ACTION' => 'login.'.$phpEx.$SID,
'T_STYLESHEET_DATA' => $theme['css_data'],