Loading module/Application/src/Controller/OffreFormation/EtapeController.php +6 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,12 @@ class EtapeController extends AbstractController Structure::class, ]); $structure = $this->em()->find(Structure::class, $this->params()->fromRoute('structure')); $structureId = $this->params()->fromRoute('structure'); if ($structureId) { $structure = $this->em()->find(Structure::class, $structureId); } else { $structure = null; } $etape = $this->getEvent()->getParam('etape'); $title = $etape ? "Modification d'une formation" : "Création d'une nouvelle formation"; Loading Loading
module/Application/src/Controller/OffreFormation/EtapeController.php +6 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,12 @@ class EtapeController extends AbstractController Structure::class, ]); $structure = $this->em()->find(Structure::class, $this->params()->fromRoute('structure')); $structureId = $this->params()->fromRoute('structure'); if ($structureId) { $structure = $this->em()->find(Structure::class, $structureId); } else { $structure = null; } $etape = $this->getEvent()->getParam('etape'); $title = $etape ? "Modification d'une formation" : "Création d'une nouvelle formation"; Loading