mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
hrm, different storage of config value and user timezone value. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4113 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -66,7 +66,7 @@ $template->set_filenames(array(
|
||||
|
||||
// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
|
||||
$l_timezone = explode('.', $board_config['board_timezone']);
|
||||
$l_timezone = ($l_timezone[count($l_timezone)-1] != 0) ? $lang[sprintf('%.1f', $board_config['board_timezone'])] : $lang[number_format($board_config['board_timezone'])];
|
||||
$l_timezone = (count($l_timezone) > 1 && $l_timezone[count($l_timezone)-1] != 0) ? $lang[sprintf('%.1f', $board_config['board_timezone'])] : $lang[number_format($board_config['board_timezone'])];
|
||||
|
||||
//
|
||||
// The following assigns all _common_ variables that may be used at any point
|
||||
|
Reference in New Issue
Block a user