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

This commit is contained in:
lLefevre
2012-06-20 13:47:30 +00:00
parent fa39945de3
commit 82722d12a7

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