Fix: Syntax error

This commit is contained in:
Laurent Destailleur 2008-10-23 23:45:52 +00:00
parent 4f1e1f8041
commit 294adcba90

View File

@ -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);