diff --git a/Classes/Tca/Registry.php b/Classes/Tca/Registry.php index 8459333f..d60fba3f 100644 --- a/Classes/Tca/Registry.php +++ b/Classes/Tca/Registry.php @@ -282,7 +282,7 @@ public function getPageTsString(): string } } - if ($typo3Version->getMajorVersion() > 12 && !empty($cTypesExcludedInNewContentElementWizard)) { + if ($typo3Version->getMajorVersion() > 12) { foreach ($cTypesExcludedInNewContentElementWizard as $group => $ctypes) { $pageTs .= LF . 'mod.wizards.newContentElement.wizardItems.' . $group . '.removeItems := addToList(' . implode(',', $ctypes) . ')'; }