Update html.form.class.php
This commit is contained in:
parent
d11d1a2018
commit
c3c0ad1c8d
@ -3112,7 +3112,7 @@ class Form
|
|||||||
}
|
}
|
||||||
$sql .= " WHERE p.entity IN (".getEntity('product').")";
|
$sql .= " WHERE p.entity IN (".getEntity('product').")";
|
||||||
if ($statut != -1) {
|
if ($statut != -1) {
|
||||||
$sql .= " AND p.tobuy = ".$statut;
|
$sql .= " AND p.tobuy = ".((int) $statut);
|
||||||
}
|
}
|
||||||
if (strval($filtertype) != '') {
|
if (strval($filtertype) != '') {
|
||||||
$sql .= " AND p.fk_product_type=".$this->db->escape($filtertype);
|
$sql .= " AND p.fk_product_type=".$this->db->escape($filtertype);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user