remove and

This commit is contained in:
Quentin VIAL-GOUTEYRON 2021-06-07 10:10:42 +02:00
parent d59723a84a
commit af913cd29f

View File

@ -263,8 +263,6 @@ if ($modecompta == 'CREANCES-DETTES')
$sql .= " AND (p.rowid IN ";
$sql .= " (SELECT fk_product FROM ".MAIN_DB_PREFIX."categorie_product cp WHERE ";
$sql .= " AND ";
if ($subcat) $sql .= "cp.fk_categorie IN (".$listofcatsql.")";
else $sql .= "cp.fk_categorie = ".$selected_cat;
$sql .= "))";