1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[ticket/17151] Revert radio yes_no/enabled_disabled, fix select "selected"

PHPBB3-17151
This commit is contained in:
rxu
2023-10-02 11:55:49 +07:00
parent 6349d3c126
commit b6572652df
5 changed files with 223 additions and 121 deletions

View File

@@ -195,9 +195,7 @@ class phpbb_avatar_manager_test extends \phpbb_database_test_case
'allow_avatar_' . get_class($this->avatar_foobar) => [
'lang' => 'ALLOW_' . strtoupper(get_class($this->avatar_foobar)),
'validate' => 'bool',
'type' => 'radio',
'function' => 'build_radio',
'params' => ['{CONFIG_VALUE}', '{KEY}', [1 => 'YES', 0 => 'NO']],
'type' => 'radio:yes_no',
'explain' => true
],
];