Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix https://github.com/firefly-iii/firefly-iii/issues/5422
James Cole3ee100e71ebd
diff --git a/app/Services/Internal/Update/AccountUpdateService.php b/app/Services/Internal/Update/AccountUpdateService.phpindex 51add15fba..1e92b4a4a2 100644--- a/app/Services/Internal/Update/AccountUpdateService.php+++ b/app/Services/Internal/Update/AccountUpdateService.php@@ -325,7 +325,7 @@ class AccountUpdateServiceif ($this->validOBData($data) && !$this->isEmptyOBData($data)) {$openingBalance = $data['opening_balance'];$openingBalanceDate = $data['opening_balance_date'];- if ('credit' === $data['liability_direction']) {+ if ('credit' === $direction) {$this->updateCreditTransaction($account, $openingBalance, $openingBalanceDate);}}