From 6bd2d78fc9d1d2b9f181cd2880b2792943afaa18 Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Tue, 2 Apr 2024 21:35:25 +0200 Subject: [PATCH] fix object call --- htdocs/compta/facture/class/facture.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 9bb919de5bd..e01d5442d03 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -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++; }