Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix issue with null pointer
James Cole0dbee4718271
diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.phpindex f9b0cf5304..eec0c6fdda 100644--- a/app/Http/Controllers/ReportController.php+++ b/app/Http/Controllers/ReportController.php@@ -263,7 +263,7 @@ class ReportController extends Controllerpublic function index(AccountRepositoryInterface $repository){/** @var Carbon $start */- $start = clone session('first');+ $start = clone session('first', new Carbon);$months = $this->helper->listOfMonths($start);$customFiscalYear = app('preferences')->get('customFiscalYear', 0)->data;$accounts = $repository->getAccountsByType(