mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
parent
1f8f2ceacd
commit
78325a13b9
1 changed files with 0 additions and 4 deletions
|
@ -1756,10 +1756,6 @@ class FormHelper extends AppHelper {
|
|||
unset($attributes['type']);
|
||||
}
|
||||
|
||||
if (!isset($selected)) {
|
||||
$selected = $attributes['value'];
|
||||
}
|
||||
|
||||
if (!empty($attributes['multiple'])) {
|
||||
$style = ($attributes['multiple'] === 'checkbox') ? 'checkbox' : null;
|
||||
$template = ($style) ? 'checkboxmultiplestart' : 'selectmultiplestart';
|
||||
|
|
Loading…
Add table
Reference in a new issue