From 84de05b35a61fae5fbfec97ab8447d18266b0a5e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 26 Jul 2004 16:53:51 +0000 Subject: [PATCH] Modif register_global --- htdocs/product/liste.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index 702c98e3d0a..0906c3f1d2e 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -53,8 +53,9 @@ if ($sortorder == "") $sql = "SELECT p.rowid, p.label, p.price, p.ref"; $sql .= " FROM ".MAIN_DB_PREFIX."product as p"; -if ($fourn_id > 0) +if ($_GET["fourn_id"] > 0) { + $fourn_id = $_GET["fourn_id"]; $sql .= ", ".MAIN_DB_PREFIX."product_fournisseur as pf"; }