[-] MO : productcomments : fix #PSCFV-2890

This commit is contained in:
lLefevre
2012-06-20 13:47:30 +00:00
parent 415bffb9b1
commit 975d59ddc8
+1 -1
View File
@@ -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);
}
}