diff --git a/extend/fast/Form.php b/extend/fast/Form.php index d8f7a4b727c5be8a5af00412eb929bdb196d1629..b2dc44954016045f9985ce8e2440aa34edb48586 100644 --- a/extend/fast/Form.php +++ b/extend/fast/Form.php @@ -870,7 +870,7 @@ EOD; $checked = is_array($checked) ? $checked : explode(',', $checked); foreach ($list as $k => $v) { $options['id'] = "{$name}-{$k}"; - $html[] = sprintf(Form::label("{$name}-{$k}", "%s {$v}"), Form::checkbox("{$name}[{$k}}]", $k, in_array($k, $checked), $options)); + $html[] = sprintf(Form::label("{$name}-{$k}", "%s {$v}"), Form::checkbox("{$name}[{$k}]", $k, in_array($k, $checked), $options)); } return '
' . implode(' ', $html) . '
'; }