diff --git a/src/QUI/ERP/Products/Product/JsonLd.php b/src/QUI/ERP/Products/Product/JsonLd.php index 91d351b5cd0199f4a0dc33cc93017a2cc1c90dd6..759d6e7d5dd7eda1f6234e6186b4d64f2dace8cd 100644 --- a/src/QUI/ERP/Products/Product/JsonLd.php +++ b/src/QUI/ERP/Products/Product/JsonLd.php @@ -166,6 +166,7 @@ protected static function getImages(ProductInterface $Product) } $images = \array_unique($images); + $images = \array_values($images); // because of json array format if (!\count($images)) { return [];