Skip to content

Commit

Permalink
[BUGFIX] Key access on fields which arent inside flexform data yet.
Browse files Browse the repository at this point in the history
Resolves: #559
Release: 12.0.1 8.2.0
  • Loading branch information
opi99 committed Feb 23, 2024
1 parent 0508ccd commit f43270a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/ProcessingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ public function getElementReferencesFromXml($flexformXml, $flexformPointer): ?ar

$listOfUIDs = '';
if (is_array($flexform) && is_array($flexform['data'])) {
$sLangPart = $flexform['data'][$flexformPointer['sheet']][$flexformPointer['sLang']];
$sLangPart = ($flexform['data'][$flexformPointer['sheet']][$flexformPointer['sLang']] ?? []);

try {
$fieldPart = ArrayUtility::getValueByPath($sLangPart, $fieldPointerPath);
Expand Down

0 comments on commit f43270a

Please sign in to comment.