From 83846a8942d33b5374763c7c47116f99cca5f0ff Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 10 Aug 2004 14:55:25 +0000 Subject: [PATCH] Bugfix --- htdocs/product/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();