[-] MO : productcomments : fix #PSCFV-2890
This commit is contained in:
1 parent
fa39945de3
commit
82722d12a7
1 file changed
+1
-1
@@ -799,7 +799,7 @@ class ProductComments extends Module
|
||||
$list_grades[$criterion['id_product_comment_criterion']] = $criterion['name'];
|
||||
}
|
||||
|
||||
$list_product_average[$id_product] = $grade_total / count($criterion);
|
||||
$list_product_average[$id_product] = $grade_total / count($criterions);
|
||||
$list_product_comment[$id_product] = ProductComment::getByProduct($id_product, 0, 3);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user