From 9d8fc785b11ea8e7e70ba95db7e3c448df5676f4 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 23 Aug 2022 10:07:15 +0200 Subject: [PATCH] FIX php8 compatibility --- htdocs/admin/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index f866eef7802..4a8e54589e9 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -637,7 +637,7 @@ print "\n"; print ''; print "".$langs->trans("SuggestPaymentByRIBOnAccount").""; print ""; -if (!empty($conf->banque->enabled)) { +if (isModEnabled('banque')) { $sql = "SELECT rowid, label"; $sql .= " FROM ".MAIN_DB_PREFIX."bank_account"; $sql .= " WHERE clos = 0";