Skip to content

Commit

Permalink
[BUGFIX] Prevent undefined array key warning in FlexFormProcessor (#799)
Browse files Browse the repository at this point in the history
Backport from main
  • Loading branch information
lukaszuznanski authored Jan 9, 2025
1 parent 5b01293 commit 39793a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/DataProcessing/FlexFormProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function process(ContentObjectRenderer $cObj, array $contentObjectConfigu
$fieldName = 'pi_flexform';
}

if (!$processedData['data'][$fieldName] && !$processedData[$fieldName]) {
if (!isset($processedData['data'][$fieldName]) && !isset($processedData[$fieldName])) {
return $processedData;
}

Expand Down

0 comments on commit 39793a4

Please sign in to comment.