Loading module/Formation/src/Formation/Controller/InscriptionController.php +4 Changes for module/Formation/src/Formation/Controller/InscriptionController.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -56,7 +56,11 @@ class InscriptionController extends AbstractController $session = $this->getEntityManager()->getRepository(Session::class)->getRequestedSession($this); /** @var Doctorant|null $doctorant */ $doctorantId = $this->params()->fromRoute('doctorant'); if ($doctorantId !== null) { $doctorant = $this->getEntityManager()->getRepository(Doctorant::class)->find($doctorantId); } else { $doctorant = null; } if ($doctorant !== null) { $inscription = new Inscription(); Loading Loading
module/Formation/src/Formation/Controller/InscriptionController.php +4 Changes for module/Formation/src/Formation/Controller/InscriptionController.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -56,7 +56,11 @@ class InscriptionController extends AbstractController $session = $this->getEntityManager()->getRepository(Session::class)->getRequestedSession($this); /** @var Doctorant|null $doctorant */ $doctorantId = $this->params()->fromRoute('doctorant'); if ($doctorantId !== null) { $doctorant = $this->getEntityManager()->getRepository(Doctorant::class)->find($doctorantId); } else { $doctorant = null; } if ($doctorant !== null) { $inscription = new Inscription(); Loading