Fix null pointer

This commit is contained in:
James Cole 2017-09-14 16:11:10 +02:00
parent e250ffbd18
commit c9e7018490
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -67,7 +67,7 @@ class CategoryController extends Controller
$start = $repository->firstUseDate($category);
if (is_null($first)) {
if (is_null($start)) {
$start = new Carbon;
}