Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #3839
James Colefc157b294483
diff --git a/app/Repositories/Tag/TagRepository.php b/app/Repositories/Tag/TagRepository.phpindex 9a5a2be73c..fcfb6505d1 100644--- a/app/Repositories/Tag/TagRepository.php+++ b/app/Repositories/Tag/TagRepository.php@@ -378,7 +378,7 @@ class TagRepository implements TagRepositoryInterface$sums[$currencyId][$type] = bcadd($sums[$currencyId][$type], $amount);$foreignCurrencyId = $journal['foreign_currency_id'];- if (null !== $foreignCurrencyId) {+ if (null !== $foreignCurrencyId && 0 !== $foreignCurrencyId) {$sums[$foreignCurrencyId] = $sums[$foreignCurrencyId] ?? ['currency_id' => $foreignCurrencyId,'currency_name' => $journal['foreign_currency_name'],