From 23d535197d4cffcec44d763bc5ad21c39bf2c02a Mon Sep 17 00:00:00 2001 From: daraelmin Date: Wed, 4 Jan 2023 09:13:40 +0100 Subject: [PATCH] Fix v14 fatal error undefined fct lenght_accounta Following #23403 See https://www.dolibarr.fr/forum/t/erreur-fatal-paiements-divers-v15-0-3/41914 --- htdocs/compta/bank/various_payment/list.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/compta/bank/various_payment/list.php b/htdocs/compta/bank/various_payment/list.php index dda68a096a1..3863cde1ab9 100644 --- a/htdocs/compta/bank/various_payment/list.php +++ b/htdocs/compta/bank/various_payment/list.php @@ -650,6 +650,7 @@ if ($result) { // Accounting account if ($arrayfields['account']['checked']) { + require_once(DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php'); $accountingaccount->fetch('', $obj->accountancy_code, 1); print ''.$accountingaccount->getNomUrl(0, 1, 1, '', 1).'';