From 1a5ae8f3258e5e01ea5df85b088431ad335a4506 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 27 Feb 2006 17:14:29 +0000 Subject: [PATCH] bugfix --- htdocs/product/liste.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index e3d8e9a4ae4..f81f7c110bd 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -75,9 +75,9 @@ if (isset($_REQUEST['catid'])) $title=$langs->trans("ProductsAndServices"); -$sql = 'SELECT distinct(p.rowid), p.ref, p.label, p.price, p.fk_product_type, '.$db->pdate('p.tms').' as datem,'; +$sql = 'SELECT p.rowid, p.ref, p.label, p.price, p.fk_product_type, '.$db->pdate('p.tms').' as datem,'; $sql.= ' p.duration, p.envente as statut'; -$sql.= ' FROM '.MAIN_DB_PREFIX.'product as p, '.MAIN_DB_PREFIX.'product_det as d'; +$sql.= ' FROM '.MAIN_DB_PREFIX.'product as p'; // '.MAIN_DB_PREFIX.'product_det as d'; //en attendant le debugage if ($catid) {