mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
[ticket/17100] Clean up code a bit based on code reviews
PHPBB3-17100
This commit is contained in:
@@ -368,7 +368,7 @@ function phpbb_build_cfg_template(array $tpl_type, string $key, &$new_ary, $conf
|
||||
|
||||
case 'radio':
|
||||
$tpl_type_cond = explode('_', $tpl_type[1]);
|
||||
$type_no = !(($tpl_type_cond[0] == 'disabled' || $tpl_type_cond[0] == 'enabled'));
|
||||
$type_no = $tpl_type_cond[0] != 'disabled' && $tpl_type_cond[0] != 'enabled';
|
||||
|
||||
$no_button = [
|
||||
'type' => 'radio',
|
||||
|
Reference in New Issue
Block a user