mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix #2125
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user