1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12858] Generate timezone selects with template loop

PHPBB3-12858
This commit is contained in:
Marc Alexander
2014-09-17 14:15:16 +02:00
parent 20903c0a9b
commit 9ebee7de32
7 changed files with 38 additions and 19 deletions

View File

@@ -133,9 +133,9 @@ function phpbb_clean_path($path)
*/
function tz_select($default = '', $truncate = false)
{
global $user;
global $template, $user;
$timezone_select = phpbb_timezone_select($user, $default, $truncate);
$timezone_select = phpbb_timezone_select($template, $user, $default, $truncate);
return $timezone_select['tz_select'];
}