From 4fdf50752f121185fa94e50786e79128a22aa015 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 15 Oct 2025 12:31:30 +0200 Subject: [PATCH] doc --- htdocs/core/class/commoninvoice.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commoninvoice.class.php b/htdocs/core/class/commoninvoice.class.php index d7c0fd82126..f7d6b316604 100644 --- a/htdocs/core/class/commoninvoice.class.php +++ b/htdocs/core/class/commoninvoice.class.php @@ -1915,7 +1915,7 @@ abstract class CommonInvoice extends CommonObject $idofbankaccountouse = $this->fk_account; if (empty($idofbankaccountouse)) { - $idofbankaccountouse = $this->fk_bank; + $idofbankaccountouse = $this->fk_bank; // for backward compatibility } if (empty($idofbankaccountouse)) { $idofbankaccountouse = getDolGlobalInt('FACTURE_RIB_NUMBER');