Fix for #24094
This commit is contained in:
parent
7f49ad670f
commit
215cd58827
@ -743,7 +743,7 @@ class AccountancyCategory // extends CommonObject
|
|||||||
}
|
}
|
||||||
$listofaccount .= "'".$cptcursor."'";
|
$listofaccount .= "'".$cptcursor."'";
|
||||||
}
|
}
|
||||||
$sql .= " AND t.numero_compte IN (".$this->db->sanitize($listofaccount).")";
|
$sql .= " AND t.numero_compte IN (".$this->db->sanitize($listofaccount, 1).")";
|
||||||
} else {
|
} else {
|
||||||
$sql .= " AND t.numero_compte = '".$this->db->escape($cpt)."'";
|
$sql .= " AND t.numero_compte = '".$this->db->escape($cpt)."'";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user