Update bonprelevement.class.php
This commit is contained in:
parent
10853b64ff
commit
829e818b6d
@ -813,7 +813,7 @@ class BonPrelevement extends CommonObject
|
|||||||
$sql .= " AND f.total_ttc > 0";
|
$sql .= " AND f.total_ttc > 0";
|
||||||
$sql .= " AND pfd.ext_payment_id IS NULL";
|
$sql .= " AND pfd.ext_payment_id IS NULL";
|
||||||
if ($did > 0) {
|
if ($did > 0) {
|
||||||
$sql .= " AND pfd.rowid = '".$this->db->escape($did)."'";
|
$sql .= " AND pfd.rowid = ".((int) $did);
|
||||||
}
|
}
|
||||||
dol_syslog(__METHOD__."::Read invoices,", LOG_DEBUG);
|
dol_syslog(__METHOD__."::Read invoices,", LOG_DEBUG);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user