From a725d0311b65b1a501c2712010db0a07c4cc4e07 Mon Sep 17 00:00:00 2001 From: Thomas N Date: Wed, 9 Sep 2026 17:24:02 +0100 Subject: [PATCH 1/2] Bump to v9.0.1 --- config.xml | 2 +- productcomments.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.xml b/config.xml index ba40758..4380d5f 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ productcomments - + diff --git a/productcomments.php b/productcomments.php index 875f40d..816a2fd 100644 --- a/productcomments.php +++ b/productcomments.php @@ -67,7 +67,7 @@ public function __construct() { $this->name = 'productcomments'; $this->tab = 'front_office_features'; - $this->version = '9.0.0'; + $this->version = '9.0.1'; $this->author = 'PrestaShop'; $this->need_instance = 0; $this->bootstrap = true; From 3d31fcc66e7d4a39be2a9d12bd12220ae49c0f04 Mon Sep 17 00:00:00 2001 From: Thomas N Date: Wed, 9 Sep 2026 17:28:52 +0100 Subject: [PATCH 2/2] Apply cs fixer --- src/Repository/ProductCommentRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Repository/ProductCommentRepository.php b/src/Repository/ProductCommentRepository.php index 477dcbf..75ae873 100644 --- a/src/Repository/ProductCommentRepository.php +++ b/src/Repository/ProductCommentRepository.php @@ -305,7 +305,7 @@ public function getAverageGrades(array $productIds, $validatedOnly) $sql = 'SELECT'; $count = count($productIds); - $productIds = array_values($productIds); + $productIds = array_values($productIds); foreach ($productIds as $index => $id) { $esqID = (int) $id; @@ -371,7 +371,7 @@ public function getCommentsNumberForProducts(array $productIds, $validatedOnly) $sql = 'SELECT'; $count = count($productIds); - $productIds = array_values($productIds); + $productIds = array_values($productIds); foreach ($productIds as $index => $id) { $esqID = (int) $id;