From 7f1443effa3b64261cc7c21e2342af4bbe415d2a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 19 Nov 2023 00:33:37 +0100 Subject: [PATCH] Fix name of constant --- htdocs/accountancy/journal/bankjournal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/accountancy/journal/bankjournal.php b/htdocs/accountancy/journal/bankjournal.php index bbbaad4e2ef..eb393ce31e8 100644 --- a/htdocs/accountancy/journal/bankjournal.php +++ b/htdocs/accountancy/journal/bankjournal.php @@ -436,7 +436,7 @@ if ($result) { // This part of code is no more required. it is here to solve case where a link were missing (ith v14.0.0) and keep writing in accountancy complete. // Note: A better way to fix this is to delete payment of salary and recreate it, or to fix the bookkeeping table manually after. - if (getDolGlobalString('ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USEr_ON_SALARY_BANK_PAYMENT')) { + if (getDolGlobalString('ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USER_ON_SALARY_BANK_PAYMENT')) { $tmpsalary = new Salary($db); $tmpsalary->fetch($paymentsalstatic->id); $tmpsalary->fetch_user($tmpsalary->fk_user);