From 2f88acfe6c1fe663be4b39fdf4c37269892e6955 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 2 Jan 2007 15:55:07 +0000 Subject: [PATCH] BUG 18616 --- htdocs/product.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 45903b59098..6d3c2b0b2ca 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2007 Rodolphe Quiedeville * Copyright (C) 2004-2006 Laurent Destailleur * Copyright (C) 2005-2006 Regis Houssin * Copyright (C) 2006 Andre Cianfarani @@ -1108,7 +1108,7 @@ class Product { $sql.= " AND c.fk_soc = ".$socid; } - if ($filtrestatut) + if (isset($filtrestatut)) { $sql.= " AND c.fk_statut = ".$filtrestatut; }