diff --git a/modules/productcomments/controllers/front/default.php b/modules/productcomments/controllers/front/default.php index a62a0eb26..064426ada 100644 --- a/modules/productcomments/controllers/front/default.php +++ b/modules/productcomments/controllers/front/default.php @@ -118,7 +118,7 @@ class ProductCommentsDefaultModuleFrontController extends ModuleFrontController $product_comment_criterion->addGrade($comment->id, $grade); } - if (count(Tools::getValue('criterion')) > 1) + if (count(Tools::getValue('criterion')) >= 1) { $comment->grade = $grade_sum / count(Tools::getValue('criterion')); // Update Grade average of comment