Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #2125
James Cole143fe2a71f8d
diff --git a/app/Support/Amount.php b/app/Support/Amount.phpindex 3ffd96aaf4..9f9789aa14 100644--- a/app/Support/Amount.php+++ b/app/Support/Amount.php@@ -246,7 +246,7 @@ class Amount// could still be json encoded:if (\strlen($currencyCode) > 3) {- $currencyCode = null === json_decode($currencyCode) ? 'EUR' : $currencyCode;+ $currencyCode = json_decode($currencyCode) ?? 'EUR';}$currency = TransactionCurrency::where('code', $currencyCode)->first();