Declare variable as an empty array
This commit is contained in:
parent
23fe11c71e
commit
1be0a8d911
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ class StatuslabelsController extends Controller
|
|||
{
|
||||
$this->authorize('view', Statuslabel::class);
|
||||
$statuslabels = Statuslabel::withCount('assets')->get();
|
||||
$total = Array();
|
||||
|
||||
foreach ($statuslabels as $statuslabel) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue