mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Add global config to method getFirstLevel() to remove warning check_acl error
This commit is contained in:
parent
b627636863
commit
340e253901
@ -72,6 +72,8 @@ class TreeService extends Tree
|
||||
|
||||
protected function getFirstLevel()
|
||||
{
|
||||
global $config;
|
||||
|
||||
$processed_items = $this->getProcessedServices();
|
||||
$ids = array_keys($processed_items);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user