From 294adcba907732755e216587858abdeecd6e1488 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 23 Oct 2008 23:45:52 +0000 Subject: [PATCH] Fix: Syntax error --- htdocs/product/sousproduits/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/sousproduits/fiche.php b/htdocs/product/sousproduits/fiche.php index d7b447966db..27b4ca6c534 100644 --- a/htdocs/product/sousproduits/fiche.php +++ b/htdocs/product/sousproduits/fiche.php @@ -109,7 +109,7 @@ if($action == 'search' ) } if ($conf->categorie->enabled && $catMere != -1 and $catMere) { - $sql .= "AND cp.fk_categorie ='".$catMere."'"; + $sql .= " AND cp.fk_categorie ='".addslashes($catMere)."'"; } $sql .= " ORDER BY p.ref ASC "; // $sql .= $db->plimit($limit + 1 ,$offset);