Skip to content

Firefly III: a personal finances manager

Fix range thing.

James Cole98ee70f04ef2
diff --git a/app/Http/Middleware/Range.php b/app/Http/Middleware/Range.php
index b26daf51b2..7407e4a7d2 100644
--- a/app/Http/Middleware/Range.php
+++ b/app/Http/Middleware/Range.php
@@ -72,7 +72,7 @@ class Range
if ($journal) {
Session::put('first', $journal->date);
} else {
- Session::put('first', Carbon::now());
+ Session::put('first', Carbon::now()->startOfYear());
}
}