Project

General

Profile

Bug #60399 ยป backendutility.patch

Patch for TYPO3 6.2 LTS - Anonymous, 2016-05-24 18:30

View differences:

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) {
    (1-1/1)