From 3feaae78a7079f159a87227b74cd769e48be1b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Jania?= Date: Thu, 10 Oct 2024 08:56:16 +0200 Subject: [PATCH] [BUGFIX] data undefined in IconsDataProcessor (#1452) Co-authored-by: Benjamin Kott --- Classes/DataProcessing/IconsDataProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/DataProcessing/IconsDataProcessor.php b/Classes/DataProcessing/IconsDataProcessor.php index ab8f70f16..602548de0 100644 --- a/Classes/DataProcessing/IconsDataProcessor.php +++ b/Classes/DataProcessing/IconsDataProcessor.php @@ -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];