Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix nullpointer
Sander Dorigofb394b7f4505
diff --git a/app/Factory/TransactionJournalFactory.php b/app/Factory/TransactionJournalFactory.phpindex 0a75ea3e0c..f89c86b3aa 100644--- a/app/Factory/TransactionJournalFactory.php+++ b/app/Factory/TransactionJournalFactory.php@@ -476,7 +476,7 @@ class TransactionJournalFactory*/private function getCurrency(?TransactionCurrency $currency, Account $account): TransactionCurrency{- Log::debug(sprintf('Now in getCurrency(#%d, "%s")', $currency->id, $account->name));+ Log::debug(sprintf('Now in getCurrency(#%d, "%s")', $currency?->id, $account->name));/** @var null|TransactionCurrency $preference */$preference = $this->accountRepository->getAccountCurrency($account);