Bug #60399 ยป backendutility.patch
typo3/sysext/backend/Classes/Utility/BackendUtility.php 2016-05-24 16:24:48.172327653 +0000 | ||
---|---|---|
}
|
||
}
|
||
// Add palette fields e.g. for a valid RTE transformation
|
||
$paletteFieldList = array();
|
||
foreach ($fieldList as $k => $v) {
|
||
list($pFieldName, $pAltTitle, $pPalette, $pSpec) = GeneralUtility::trimExplode(';', $v);
|
||
if ($pPalette && $GLOBALS['TCA'][$table]['palettes'][$pPalette]) {
|
||
$paletteFields = GeneralUtility::trimExplode(',', $GLOBALS['TCA'][$table]['palettes'][$pPalette]['showitem'], true);
|
||
foreach ($paletteFields as $f) {
|
||
if ($f !== '--linebreak--') {
|
||
$paletteFieldList[] = $f;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
$fieldList = array_merge($fieldList, $paletteFieldList);
|
||
$altFieldList = array();
|
||
// Traverse fields in types config and parse the configuration into a nice array:
|
||
foreach ($fieldList as $k => $v) {
|