A free open source IT asset/license management system
Fixed missing with clause
snipe93dd27339b75
diff --git a/app/Http/Controllers/StatuslabelsController.php b/app/Http/Controllers/StatuslabelsController.phpindex 5f952bb827..e9ecc2d8c8 100755--- a/app/Http/Controllers/StatuslabelsController.php+++ b/app/Http/Controllers/StatuslabelsController.php@@ -46,7 +46,7 @@ class StatuslabelsController extends Controllerpublic function getAssetCountByStatuslabel(){- $statusLabels = Statuslabel::with()->get();+ $statusLabels = Statuslabel::with('assets')->get();$labels=[];$points=[];$colors=[];