Fix for PHP 5.6

This commit is contained in:
Dmitry Khomutov 2017-01-19 22:08:33 +07:00
parent 9de41e45b5
commit 5e0dadf5e1
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9

View file

@ -146,7 +146,8 @@ class Application extends b8\Application
$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;
}