Merge pull request #12578 from inietov/fixes/undefined_variable_total

Fixed Undefined variable `$total`
This commit is contained in:
snipe
2023-02-28 20:50:00 -08:00
committed by GitHub
@@ -196,6 +196,7 @@ class StatuslabelsController extends Controller
{
$this->authorize('view', Statuslabel::class);
$statuslabels = Statuslabel::withCount('assets')->get();
$total = Array();
foreach ($statuslabels as $statuslabel) {