mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/new-tz-handling] Fix timezone option when editing a user in the ACP
PHPBB3-9558
This commit is contained in:
@@ -1639,6 +1639,7 @@ class acp_users
|
||||
${'s_sort_' . $sort_option . '_dir'} .= '</select>';
|
||||
}
|
||||
|
||||
$tz_select = tz_select($data['tz'], true, false);
|
||||
$template->assign_vars(array(
|
||||
'S_PREFS' => true,
|
||||
'S_JABBER_DISABLED' => ($config['jab_enable'] && $user_row['user_jabber'] && @extension_loaded('xml')) ? false : true,
|
||||
@@ -1678,7 +1679,8 @@ class acp_users
|
||||
|
||||
'S_LANG_OPTIONS' => language_select($data['lang']),
|
||||
'S_STYLE_OPTIONS' => style_select($data['style']),
|
||||
'S_TZ_OPTIONS' => tz_select($data['tz'], true),
|
||||
'S_TZ_OPTIONS' => $tz_select['tz_select'],
|
||||
'S_TZ_DATE_OPTIONS' => $tz_select['tz_dates'],
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user