From d3efd86e3dda368f92f917e0e280121c9d6e5625 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Wed, 18 Sep 2013 00:33:49 +0200 Subject: [PATCH] Fix: Syntax error --- htdocs/fourn/product/liste.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/product/liste.php b/htdocs/fourn/product/liste.php index 33439ed05fd..d189ea9f343 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) { -- GitLab