Skip to content

Commit

Permalink
[BUGFIX] data undefined in IconsDataProcessor (#1452)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Kott <[email protected]>
  • Loading branch information
80Quattro and benjaminkott authored Oct 10, 2024
1 parent 2ed9ddd commit 3feaae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/DataProcessing/IconsDataProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function process(ContentObjectRenderer $cObj, array $contentObjectConfigu
$cObj,
$contentObjectConfiguration,
['references.' => ['fieldName' => $config['iconFileFieldName']]],
['data' => $processedData['data']]
['data' => $processedData['data'] ?? []]
);
if (isset($filesData['files'][0])) {
$file = $filesData['files'][0];
Expand Down

0 comments on commit 3feaae7

Please sign in to comment.