mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #2125
This commit is contained in:
parent
3379b723cf
commit
143fe2a71f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user