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);