Commit 71931014 authored by Thomas Hamel's avatar Thomas Hamel
Browse files

ajout de l'autorisation d'inscription pour les thèses importées

parent 65cfe399
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ class AutorisationInscriptionController extends AbstractController

                if($autorisationInscription->getThese() && $autorisationInscription->getAutorisationInscription() === true){
                    //on agit sur la thèse seulement si la thèse n'est pas importée d'un système de scolarité (Apogée...)
                    if($these->getSource()->getImportable()){
                    if(!$these->getSource()->getImportable()){
                        $theseAnneeUnivInscription = $this->theseAnneeUnivService->initFromAutorisationInscription($autorisationInscription);
                        $these->addAnneesUnivInscription($theseAnneeUnivInscription);
                        $this->theseService->saveThese($these);