From 94d4e03649163507fcf577fec3a6f6d99182584c Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Fri, 27 Oct 2023 12:08:26 +0200 Subject: [PATCH] Fixed deprecation --- .../Legacy/Content/FieldValue/Converter/ImageConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Persistence/Legacy/Content/FieldValue/Converter/ImageConverter.php b/src/lib/Persistence/Legacy/Content/FieldValue/Converter/ImageConverter.php index 80989af520..0b06c09c40 100644 --- a/src/lib/Persistence/Legacy/Content/FieldValue/Converter/ImageConverter.php +++ b/src/lib/Persistence/Legacy/Content/FieldValue/Converter/ImageConverter.php @@ -137,7 +137,7 @@ protected function fillXml($imageData, $pathInfo, $timestamp) htmlspecialchars($imageData['mime']), // mime_type htmlspecialchars($imageData['width']), // width htmlspecialchars($imageData['height']), // height - htmlspecialchars($imageData['alternativeText']), // alternative_text + htmlspecialchars($imageData['alternativeText'] ?? ''), // alternative_text htmlspecialchars(1293033771), // alias_key, fixed for the original image htmlspecialchars($timestamp), // timestamp //