Fix for PHP 5.6
This commit is contained in:
parent
9de41e45b5
commit
5e0dadf5e1
|
@ -146,7 +146,8 @@ class Application extends b8\Application
|
||||||
$groups[] = $thisGroup;
|
$groups[] = $thisGroup;
|
||||||
}
|
}
|
||||||
|
|
||||||
$layout->archived_projects = (b8\Store\Factory::getStore('Project')->getAll(true))['items'];
|
$archived_projects = b8\Store\Factory::getStore('Project')->getAll(true);
|
||||||
|
$layout->archived_projects = $archived_projects['items'];
|
||||||
$layout->groups = $groups;
|
$layout->groups = $groups;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue