Commit ab8ebcea authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Service Doctorant: abandon de l'exception si aucun doctorant trouvé à partir du domaine de l'EPPN.

parent 77c5e78b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ class DoctorantService extends BaseService

        $etablissement = $this->getEtablissementService()->getRepository()->findOneByDomaine($domaineEtab);
        if (! $etablissement) {
            throw new RuntimeException("Aucun établissement trouvé avec ce domaine: " . $domaineEtab);
            return null;
        }

        $sourceCode = $etablissement->prependPrefixTo($id);