Fix null pointer

This commit is contained in:
James Cole
2017-09-14 16:11:10 +02:00
parent e250ffbd18
commit c9e7018490

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;
}