1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17151] Fix registration test error

PHPBB3-17151
This commit is contained in:
rxu
2023-09-19 13:16:57 +07:00
parent 9350e82d71
commit 52517a5efd
7 changed files with 54 additions and 22 deletions

View File

@@ -205,14 +205,18 @@ class ucp_prefs
'name' => 'lang',
'options' => $lang_options,
],
'S_STYLE_OPTIONS' => ($config['override_user_style']) ? '' : style_select($data['user_style'], false, $styles_row),
'S_STYLE_OPTIONS' => ($config['override_user_style']) ? '' : [
'id' => 'user_style',
'name' => 'user_style',
'options' => style_select($data['user_style'], false, $styles_row)
],
'TIMEZONE_OPTIONS' => [
'tag' => 'select',
'name' => 'tz',
'options' => $timezone_select,
],
'S_CAN_HIDE_ONLINE' => ($auth->acl_get('u_hideonline')) ? true : false,
'S_SELECT_NOTIFY' => ($config['jab_enable'] && $user->data['user_jabber'] && @extension_loaded('xml')) ? true : false)
'S_CAN_HIDE_ONLINE' => ($auth->acl_get('u_hideonline')) ? true : false,
'S_SELECT_NOTIFY' => ($config['jab_enable'] && $user->data['user_jabber'] && @extension_loaded('xml')) ? true : false)
);
break;