mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Fix #4175
This commit is contained in:
@@ -83,7 +83,7 @@ class HomeController extends Controller
|
|||||||
Log::debug('Range is now marked as "custom".');
|
Log::debug('Range is now marked as "custom".');
|
||||||
}
|
}
|
||||||
|
|
||||||
$diff = $start->diffInDays($end);
|
$diff = $start->diffInDays($end) + 1;
|
||||||
|
|
||||||
if ($diff > 50) {
|
if ($diff > 50) {
|
||||||
$request->session()->flash('warning', (string) trans('firefly.warning_much_data', ['days' => $diff]));
|
$request->session()->flash('warning', (string) trans('firefly.warning_much_data', ['days' => $diff]));
|
||||||
|
Reference in New Issue
Block a user