Automated merge from 21.0 to 22.0 by tool pullmerge.sh
This commit is contained in:
commit
5da56bd12c
1 changed files with 1 additions and 1 deletions
|
|
@ -883,7 +883,7 @@ if (!$error && $action == 'writebookkeeping' && $user->hasRight('accounting', 'b
|
|||
$bookkeeping->subledger_label = $tabcompany[$key]['name'];
|
||||
if (empty($conf->cache['accountingaccountincurrententity'][$tabpay[$key]["account_various"]])) {
|
||||
$accountingaccount = new AccountingAccount($db);
|
||||
$accountingaccount->fetch(null, $tabpay[$key]["account_various"], true);
|
||||
$accountingaccount->fetch(0, $tabpay[$key]["account_various"], true);
|
||||
$conf->cache['accountingaccountincurrententity'][$tabpay[$key]["account_various"]] = $accountingaccount;
|
||||
} else {
|
||||
$accountingaccount = $conf->cache['accountingaccountincurrententity'][$tabpay[$key]["account_various"]];
|
||||
|
|
|
|||
Loading…
Reference in a new issue