From ce34028fcd294a07cf415a839e4f860c144990dd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Aug 2010 15:20:36 +0000 Subject: [PATCH] Removed old code --- htdocs/product/index.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/product/index.php b/htdocs/product/index.php index ce11bd777dd..55aae1c5a5f 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -167,8 +167,6 @@ $max=15; $sql = "SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.envente,"; $sql.= " p.tms as datem"; $sql.= " FROM ".MAIN_DB_PREFIX."product as p"; -//$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."product_subproduct as sp ON p.rowid = sp.fk_product_subproduct"; // Exclude record that are subproduct for module ??? -//$sql.= " WHERE sp.fk_product_subproduct IS NULL"; $sql.= " WHERE p.entity = ".$conf->entity; if (empty($user->rights->produit->hidden) && empty($user->rights->service->hidden)) $sql.=' AND p.hidden=0'; else