update code towards php8 compliance
This commit is contained in:
parent
731ff10bed
commit
5a1716f625
@ -872,7 +872,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
||||
|
||||
// If payment mode not forced or forced to VIR, show payment with BAN
|
||||
if (empty($object->mode_reglement_code) || $object->mode_reglement_code == 'VIR') {
|
||||
if (!empty($object->fk_bank) || !empty($conf->global->FACTURE_RIB_NUMBER)) {
|
||||
if (!empty($object->fk_bank) || getDolGlobalInt('FACTURE_RIB_NUMBER')) {
|
||||
$bankid = (empty($object->fk_bank) ? $conf->global->FACTURE_RIB_NUMBER : $object->fk_bank);
|
||||
$account = new Account($this->db);
|
||||
$account->fetch($bankid);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user