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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16097 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-06-20 13:47:30 +00:00
parent 8fc6e8f3ab
commit 6e5469b9e3
+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);
}
}