Skip to content

Commit e0d9f72

Browse files
committed
[BUGFIX] prevent undefined array access
1 parent 5265dcc commit e0d9f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configuration/TCA/Overrides/tt_content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
'showitem' => '--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
9595
layout,
9696
--palette--;;linklabelconfig,
97-
--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,' . $showItemParts[1]
97+
--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,' . ($showItemParts[1] ?? '')
9898
];
9999
} else {
100100
$GLOBALS['TCA']['tt_content']['types']['cta'] = [

0 commit comments

Comments
 (0)