Project

General

Profile

Bug #96995 » backendutility-checkbox-castvalue.patch

Jan Delius, 2022-02-23 07:33

View differences:

typo3/sysext/backend/Classes/Utility/BackendUtility.php → typo3/sysext/backend/Classes/Utility/BackendUtility.php (date 1645600281493)
$l = $value ? $lang->sL('LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:yes') : $lang->sL('LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:no');
} else {
$lA = [];
$value = (int)$value;
foreach ($theColConf['items'] as $key => $val) {
if ($value & 2 ** $key) {
$lA[] = $lang->sL($val[0]);
(3-3/3)