Skip to content

Commit

Permalink
Prevent undefined array key warning in FlexFormProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
christophlehmann authored and lukaszuznanski committed May 9, 2024
1 parent 10ed761 commit 12131cb
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 12131cb

Please sign in to comment.