diff --git a/htdocs/fourn/product/liste.php b/htdocs/fourn/product/liste.php index 33439ed05fd9525bf8e04a1462ae0fa07aa818c5..d189ea9f34313136362adcb0ad57cf46c30561ba 100644 --- a/htdocs/fourn/product/liste.php +++ b/htdocs/fourn/product/liste.php @@ -102,7 +102,7 @@ else { if (GETPOST('type')) { - $sql .= " AND p.fk_product_type = " . GETPOST('type')); + $sql .= " AND p.fk_product_type = " . GETPOST('type','int'); } if ($sref) {