Bug #61099 » CheckboxViewHelper.patch
typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php | ||
---|---|---|
}
|
||
if (is_array($propertyValue)) {
|
||
if ($checked === NULL) {
|
||
$checked = in_array($valueAttribute, $propertyValue);
|
||
// $checked = in_array($valueAttribute, $propertyValue);
|
||
}
|
||
foreach ($propertyValue as $value) {
|
||
if($valueAttribute == $value->getUid()) {
|
||
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($value->getUid());
|
||
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($valueAttribute);
|
||
$checked = $value->getUid();
|
||
}
|
||
}
|
||
$nameAttribute .= '[]';
|
||
} elseif (($multiple = FALSE) === TRUE) {
|