From 291f9122d6211355f9b4f8eb768c68ef847ae175 Mon Sep 17 00:00:00 2001 From: lnormandon Date: Fri, 24 May 2024 15:14:11 +0200 Subject: [PATCH] save index on init --- Config/module.xml | 2 +- Model/HeaderHighlights.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Config/module.xml b/Config/module.xml index a6d7ef1..a524ebe 100644 --- a/Config/module.xml +++ b/Config/module.xml @@ -13,7 +13,7 @@ en_US fr_FR - 1.1.2 + 1.1.3 Loïc MO diff --git a/Model/HeaderHighlights.php b/Model/HeaderHighlights.php index b44fdde..6bf5924 100644 --- a/Model/HeaderHighlights.php +++ b/Model/HeaderHighlights.php @@ -24,6 +24,7 @@ public function createEmptyHeaderHighlights(int $index, string $displayType): se $this ->setCategoryId($categoryId) + ->setImageBlock($index) ->setDisplayType($displayType); foreach ($locales as $locale) {