Commit 90cca745 authored by Simon Ackermann's avatar Simon Ackermann Committed by Benni Mack
Browse files

[BUGFIX] Avoid undefined array key warning

Return an empty array if the key does not exist.

Resolves: #96023
Releases: master, 11.5
Change-Id: I41cbea8c74ac91062c2e46efc16b4b6580be066b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72225


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 3d6103bc
......@@ -70,7 +70,7 @@ class FinisherOptionsFlexFormOverridesConverter
return;
}
$fieldConfiguration = $prototypeFinisherDefinition['FormEngine']['elements'][$optionKey];
$fieldConfiguration = $prototypeFinisherDefinition['FormEngine']['elements'][$optionKey] ?? [];
if ($fieldConfiguration['section'] ?? false) {
$processedOptionValue = [];
......
Supports Markdown
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