mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix in year list.
This commit is contained in:
parent
638f38d823
commit
216a223617
@ -119,6 +119,9 @@ class ReportHelper implements ReportHelperInterface
|
||||
$years[] = $start->format('Y');
|
||||
$start->addYear();
|
||||
}
|
||||
$years[] = Carbon::now()->format('Y');
|
||||
// force the current year.
|
||||
$years = array_unique($years);
|
||||
|
||||
return $years;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user