mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 10:53:31 +00:00
Fix null pointer
This commit is contained in:
@@ -67,7 +67,7 @@ class CategoryController extends Controller
|
|||||||
|
|
||||||
$start = $repository->firstUseDate($category);
|
$start = $repository->firstUseDate($category);
|
||||||
|
|
||||||
if (is_null($first)) {
|
if (is_null($start)) {
|
||||||
$start = new Carbon;
|
$start = new Carbon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user