mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 10:53:31 +00:00
Fix bad parse error.
This commit is contained in:
@@ -90,7 +90,7 @@ class AmountFormat extends Twig_Extension
|
|||||||
$currencyRepos = app(CurrencyRepositoryInterface::class);
|
$currencyRepos = app(CurrencyRepositoryInterface::class);
|
||||||
$currency = app('amount')->getDefaultCurrency();
|
$currency = app('amount')->getDefaultCurrency();
|
||||||
$currencyId = (int)$accountRepos->getMetaValue($account, 'currency_id');
|
$currencyId = (int)$accountRepos->getMetaValue($account, 'currency_id');
|
||||||
$accountCurrency = null
|
$accountCurrency = null;
|
||||||
if (0 !== $currencyId) {
|
if (0 !== $currencyId) {
|
||||||
$accountCurrency = $currencyRepos->findNull($currencyId);
|
$accountCurrency = $currencyRepos->findNull($currencyId);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user