mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-20 11:33:59 +00:00
Various code optimalisations.
This commit is contained in:
@@ -268,7 +268,7 @@ class CategoryController extends Controller
|
||||
}
|
||||
|
||||
// prep for current period
|
||||
if (0 === \strlen($moment)) {
|
||||
if ('' === $moment) {
|
||||
/** @var Carbon $start */
|
||||
$start = clone session('start', app('navigation')->startOfPeriod(new Carbon, $range));
|
||||
/** @var Carbon $end */
|
||||
|
Reference in New Issue
Block a user