1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/17100] Update tests for changed build_cfg_template

PHPBB3-17100
This commit is contained in:
Marc Alexander
2022-04-18 14:27:38 +02:00
parent 99368ab19a
commit 516d5313ad
2 changed files with 190 additions and 18 deletions

View File

@@ -380,7 +380,7 @@ function phpbb_build_cfg_template(array $tpl_type, string $key, &$new_ary, $conf
'type' => 'radio',
'name' => $name,
'value' => 1,
'checked' => $new_ary[$config_key],
'checked' => (bool) $new_ary[$config_key],
'label' => $type_no ? $language->lang('YES') : $language->lang('ENABLED'),
];