Fix bad parse error.

This commit is contained in:
James Cole
2018-03-30 22:49:46 +02:00
parent 220f5e2913
commit 7110c1178a

View File

@@ -90,7 +90,7 @@ class AmountFormat extends Twig_Extension
$currencyRepos = app(CurrencyRepositoryInterface::class);
$currency = app('amount')->getDefaultCurrency();
$currencyId = (int)$accountRepos->getMetaValue($account, 'currency_id');
$accountCurrency = null
$accountCurrency = null;
if (0 !== $currencyId) {
$accountCurrency = $currencyRepos->findNull($currencyId);
}