Bug #61099 » CheckboxViewHelper.patch
typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php | ||
---|---|---|
if ($checked === NULL) {
|
||
$checked = in_array($valueAttribute, $propertyValue);
|
||
}
|
||
foreach ($propertyValue as $value) {
|
||
if($valueAttribute == $value->getUid()) {
|
||
$checked = $value->getUid();
|
||
}
|
||
}
|
||
$nameAttribute .= '[]';
|
||
} elseif (($multiple = FALSE) === TRUE) {
|
||
// @todo: implement correct as in Flow.Fluid
|