diff --git a/app/Http/Controllers/Account/ShowController.php b/app/Http/Controllers/Account/ShowController.php index 9defa7eb70..5602b5a46c 100644 --- a/app/Http/Controllers/Account/ShowController.php +++ b/app/Http/Controllers/Account/ShowController.php @@ -129,7 +129,7 @@ class ShowController extends Controller $groups->setPath(route('accounts.show', [$account->id, $start->format('Y-m-d'), $end->format('Y-m-d')])); $showAll = false; - $balance = Steam::finalAccountBalance($account, $end)['balance']; + $balance = Steam::finalAccountBalance($account, $end)['balance'] ?? '0'; // TODO fix me return view( 'accounts.show',