diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index 9572f44e8f1..448a46b3dc4 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -79,9 +79,9 @@ else { $sql .= " AND lower(p.label) like '%".strtolower($snom)."%'"; } - if (isset($envente) && strlen($envente) > 0) + if (isset($_GET["envente"]) && strlen($_GET["envente"]) > 0) { - $sql .= " AND p.envente = $envente"; + $sql .= " AND p.envente = ".$_GET["envente"]; } else {