mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
since user_timezone is now a decimal/floating point number we have to cast it's return value as an integer to make sure it drops the .0 before using it as an array index..
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2525 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
91a8a1a808
commit
1b8b015b55
1 changed files with 2 additions and 2 deletions
|
@ -384,7 +384,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[number_format($board_config['board_timezone'])]),
|
||||
'S_LOGIN_ACTION' => append_sid('login.'.$phpEx),
|
||||
|
||||
'T_HEAD_STYLESHEET' => $theme['head_stylesheet'],
|
||||
|
@ -452,4 +452,4 @@ header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
|||
|
||||
$template->pparse('overall_header');
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue