From f2e071561ec2d93cb430268c7d5e4f698d8ec68f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Wed, 30 Nov 2022 06:14:20 +0100 Subject: [PATCH] [BUGFIX] Fix default controls override for plugin type (#690) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: #688 Co-authored-by: Łukasz Uznański --- Configuration/TCA/Overrides/tt_content.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 0f13a4f..a9468ff 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -23,7 +23,5 @@ defined('TYPO3') || die(); // This removes the default controls from the plugin. $controlsToRemove = 'recursive,select_key,pages'; -$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'] = [ - 'tea_teaindex' => $controlsToRemove, - 'tea_teashow' => $controlsToRemove, -]; +$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teaindex'] = $controlsToRemove; +$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teashow'] = $controlsToRemove;