Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix for #2647
James Cole9301f2694b71
diff --git a/app/Http/Controllers/Category/ShowController.php b/app/Http/Controllers/Category/ShowController.phpindex bf6b8e327e..71852410f9 100644--- a/app/Http/Controllers/Category/ShowController.php+++ b/app/Http/Controllers/Category/ShowController.php@@ -85,7 +85,7 @@ class ShowController extends Controller$subTitleIcon = 'fa-bar-chart';$page = (int)$request->get('page');$pageSize = (int)app('preferences')->get('listPageSize', 50)->data;- $oldest = $this->repository->firstUseDate($category) ?? Carbon::create()->startOfYear();+ $oldest = $this->repository->firstUseDate($category) ?? Carbon::now()->startOfYear();$periods = $this->getCategoryPeriodOverview($category, $oldest, $end);$path = route('categories.show', [$category->id, $start->format('Y-m-d'), $end->format('Y-m-d')]);$subTitle = trans(