[BUGFIX] FormEngine: Keep columns from overruleTypesArray for processing
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / FormDataProvider / TcaColumnsProcessShowitem.php
index 83c2e7a..d53ce93 100644 (file)
@@ -40,7 +40,9 @@ class TcaColumnsProcessShowitem implements FormDataProviderInterface
             return $result;
         }
 
-        $showItemFieldString = $result['processedTca']['types'][$recordTypeValue]['showitem'];
+        $showItemFieldString = !empty($result['overruleTypesArray'][$recordTypeValue]['showitem'])
+            ? $result['overruleTypesArray'][$recordTypeValue]['showitem']
+            : $result['processedTca']['types'][$recordTypeValue]['showitem'];
         $showItemFieldArray = GeneralUtility::trimExplode(',', $showItemFieldString, true);
 
         foreach ($showItemFieldArray as $fieldConfigurationString) {