Skip to content

Firefly III: a personal finances manager

Fix https://github.com/firefly-iii/firefly-iii/issues/6260

James Coled8506c4361ca
diff --git a/app/Http/Controllers/Chart/AccountController.php b/app/Http/Controllers/Chart/AccountController.php
index a7f97e8c1d..dba8f5e4d8 100644
--- a/app/Http/Controllers/Chart/AccountController.php
+++ b/app/Http/Controllers/Chart/AccountController.php
@@ -119,7 +119,7 @@ class AccountController extends Controller
// see if there is an accompanying start amount.
// grab the difference and find the currency.
- $startAmount = (string) ($startBalances[$accountId][$currencyId] ?? '0')
+ $startAmount = (string) ($startBalances[$accountId][$currencyId] ?? '0');
$diff = bcsub((string)$endAmount, $startAmount);
$currencies[$currencyId] = $currencies[$currencyId] ?? $this->currencyRepository->find($currencyId);
if (0 !== bccomp($diff, '0')) {