1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-15 21:24:03 +02:00

[ticket/17151] Refactor radio buttons output logic

PHPBB3-17151
This commit is contained in:
rxu
2023-09-23 23:14:32 +07:00
parent 830c1f3dc3
commit 9401a59cfc
9 changed files with 214 additions and 370 deletions

View File

@@ -129,6 +129,7 @@ class forms extends AbstractExtension
'MAX' => (int) ($form_data['max'] ?? 0),
'STEP' => (int) ($form_data['step'] ?? 0),
'CHECKED' => (bool) ($form_data['checked'] ?? false),
'DISABLED' => (bool) ($form_data['disabled'] ?? false),
'VALUE' => (string) ($form_data['value']),
]);
}