diff --git a/htdocs/product/index.php b/htdocs/product/index.php index 26970f00cbc..b52b5e84666 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -50,7 +50,7 @@ print ''; * Nombre de produits et/ou services */ $prodser = array(); -$sql = "SELECT count(*), fk_product_type, envente FROM ".MAIN_DB_PREFIX."product as p GROUP BY fk_product_type"; +$sql = "SELECT count(*), fk_product_type, envente FROM ".MAIN_DB_PREFIX."product as p GROUP BY fk_product_type, envente"; if ($db->query($sql)) { $num = $db->num_rows();