FIX #8722
This commit is contained in:
parent
80bce6b62d
commit
e2369dea29
@ -720,7 +720,6 @@ if (empty($reshook))
|
|||||||
$sql.= ' WHERE pf.fk_facture = '.$object->id;
|
$sql.= ' WHERE pf.fk_facture = '.$object->id;
|
||||||
$sql.= ' AND pf.fk_paiement = p.rowid';
|
$sql.= ' AND pf.fk_paiement = p.rowid';
|
||||||
$sql.= ' AND p.entity IN (' . getEntity('facture').')';
|
$sql.= ' AND p.entity IN (' . getEntity('facture').')';
|
||||||
$sql.= ' ORDER BY p.datep, p.tms';
|
|
||||||
|
|
||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
if (! $resql) dol_print_error($db);
|
if (! $resql) dol_print_error($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user