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

[feature/new-tz-handling] Don't use global user but make it a parameter

PHPBB3-9558
This commit is contained in:
Joas Schilling
2012-07-19 17:41:27 +02:00
parent 5b7884907c
commit 7df1c84447
5 changed files with 11 additions and 8 deletions

View File

@@ -1639,7 +1639,7 @@ class acp_users
${'s_sort_' . $sort_option . '_dir'} .= '</select>';
}
$timezone_selects = phpbb_timezone_select($data['tz'], true, false);
$timezone_selects = phpbb_timezone_select($user, $data['tz'], true);
$template->assign_vars(array(
'S_PREFS' => true,
'S_JABBER_DISABLED' => ($config['jab_enable'] && $user_row['user_jabber'] && @extension_loaded('xml')) ? false : true,