Merge pull request #12578 from inietov/fixes/undefined_variable_total
Fixed Undefined variable `$total`
This commit is contained in:
@@ -196,6 +196,7 @@ class StatuslabelsController extends Controller
|
||||
{
|
||||
$this->authorize('view', Statuslabel::class);
|
||||
$statuslabels = Statuslabel::withCount('assets')->get();
|
||||
$total = Array();
|
||||
|
||||
foreach ($statuslabels as $statuslabel) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user