fix object call

This commit is contained in:
Eric Seigne 2024-04-02 21:35:25 +02:00
parent 850ec25f23
commit 6bd2d78fc9

View file

@ -1095,7 +1095,7 @@ class Facture extends CommonInvoice
//special case for recurring invoices, moved from facture-rec.class.php
if (!$error && $this->fac_rec > 0) {
$result = $facturerec->call_trigger('BILLREC_CREATEBILL', $user);
$result = $this->call_trigger('BILLREC_CREATEBILL', $user);
if ($result < 0) {
$error++;
}