Loading module/Structure/src/Structure/Controller/StructureController.php +1 −0 Changes for module/Structure/src/Structure/Controller/StructureController.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -200,6 +200,7 @@ class StructureController extends AbstractActionController { }); $superieurs = []; $autorites = []; foreach ($allAgents as $agent) { if ($agent instanceof StructureAgentForce) $agent = $agent->getAgent(); $sup = $this->getAgentService()->computeSuperieures($agent); $aut = $this->getAgentService()->computeAutorites($agent, $sup); $superieurs[$agent->getId()] = $sup; Loading Loading
module/Structure/src/Structure/Controller/StructureController.php +1 −0 Changes for module/Structure/src/Structure/Controller/StructureController.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -200,6 +200,7 @@ class StructureController extends AbstractActionController { }); $superieurs = []; $autorites = []; foreach ($allAgents as $agent) { if ($agent instanceof StructureAgentForce) $agent = $agent->getAgent(); $sup = $this->getAgentService()->computeSuperieures($agent); $aut = $this->getAgentService()->computeAutorites($agent, $sup); $superieurs[$agent->getId()] = $sup; Loading