Skip to content
Snippets Groups Projects
Commit 91d81bde authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[BUGFIX] Handle undefined tt_content_defValues in NewContentElementController

Resolves: #98306
Releases: 11.5
Change-Id: I7a5ec64e330a6a779abb5ed95eb6c70acb221785
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75670


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 4ed3e780
Branches
Tags
No related merge requests found
......@@ -370,7 +370,7 @@ class NewContentElementController
$itemConf['title'] = $this->getLanguageService()->sL($itemConf['title']);
$itemConf['description'] = $this->getLanguageService()->sL($itemConf['description']);
$itemConf['saveAndClose'] = (bool)($itemConf['saveAndClose'] ?? false);
$itemConf['tt_content_defValues'] = $itemConf['tt_content_defValues.'];
$itemConf['tt_content_defValues'] = $itemConf['tt_content_defValues.'] ?? [];
unset($itemConf['tt_content_defValues.']);
return $itemConf;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment