mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
🤖 Auto commit for release 'develop' on 2025-09-07
This commit is contained in:
@@ -164,7 +164,7 @@ class AmountFormat extends AbstractExtension
|
||||
|
||||
try {
|
||||
$currency = Amount::getTransactionCurrencyByCode($code);
|
||||
} catch(FireflyException) {
|
||||
} catch (FireflyException) {
|
||||
Log::error(sprintf('Could not find currency with code "%s". Fallback to primary currency.', $code));
|
||||
$currency = Amount::getPrimaryCurrency();
|
||||
Log::error(sprintf('Fallback currency is "%s".', $currency->code));
|
||||
|
Reference in New Issue
Block a user