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; 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;