From b4dd1fc3d3be2ac7ea27034daa4e0c7aab2b7064 Mon Sep 17 00:00:00 2001 From: gauthierb <gauthierb@d57fa8bc-6af1-4de9-8b7d-78e900e231e7> Date: Tue, 1 Jul 2014 09:13:27 +0000 Subject: [PATCH] =?UTF-8?q?Une=20reponsabilit=C3=A9=20structurelle=20n'est?= =?UTF-8?q?=20prise=20en=20compte=20que=20si=20la=20structure=20poss=C3=A8?= =?UTF-8?q?de=20une=20offre=20de=20formation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Application/src/Application/Provider/Role/RoleProvider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/Application/src/Application/Provider/Role/RoleProvider.php b/module/Application/src/Application/Provider/Role/RoleProvider.php index e2af3fed88..4667a37065 100644 --- a/module/Application/src/Application/Provider/Role/RoleProvider.php +++ b/module/Application/src/Application/Provider/Role/RoleProvider.php @@ -80,6 +80,7 @@ class RoleProvider implements ProviderInterface $rolesComposante = array(); foreach ($qb->getQuery()->getResult() as $trpr) { /* @var $trpr \Application\Entity\Db\TypeRolePhpRole */ $qb2 = $this->serviceRole->finderByTypeRole($trpr->getTypeRole()); + $qb2 = $this->serviceRole->finderByOffreFormationExistante($qb2); // la structure doit avoir une offre de formation $rolesComposante += $this->serviceRole->getList($qb2); } -- GitLab