diff --git a/htdocs/product/index.php b/htdocs/product/index.php index 8a5172cd527..e2c9640744f 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -45,7 +45,7 @@ print '
| '; -$sql = "SELECT p.rowid, p.label, p.price, p.ref FROM llx_product as p"; +$sql = "SELECT p.rowid, p.label, p.price, p.ref FROM llx_product as p WHERE envente=1"; $sql .= " ORDER BY p.datec DESC "; $sql .= $db->plimit(15 ,0); $result = $db->query($sql) ; |