Skip to content

Commit 143c3eb

Browse files
committed
[BUGFIX] defaultTypeConfiguration condition for showitem
1 parent 51154d2 commit 143c3eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Configuration/TCA/Overrides/tt_content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
];
8989

9090
// use the same configuration for visible backend fields as "Textmedia"
91-
if (!isset($GLOBALS['TCA']['tt_content']['defaultTypeConfiguration'])) {
91+
if (!isset($GLOBALS['TCA']['tt_content']['defaultTypeConfiguration']['begin'])) {
9292
$showItemParts = explode('--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,', $GLOBALS['TCA']['tt_content']['types']['textmedia']['showitem']);
9393
$GLOBALS['TCA']['tt_content']['types']['cta'] = [
9494
'showitem' => '--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,

0 commit comments

Comments
 (0)