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; }