This commit is contained in:
James Cole
2017-11-18 16:30:45 +01:00
parent 5f127b7bec
commit e8e0a44cca
11 changed files with 17 additions and 18 deletions

View File

@@ -100,7 +100,7 @@ class JavascriptController extends Controller
$currencyId = intval($account->getMeta('currency_id'));
}
/** @var TransactionCurrency $currency */
$currency = $currencyRepository->find($currencyId);
$currency = $currencyRepository->find($currencyId);
if (0 === $currencyId) {
$currency = app('amount')->getDefaultCurrency();
}