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

COrrection bug : RdvBuTheseDoctorantForm n'a pas de méthode disableExemplPapierFourni()

parent 12faa2bc
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/Application/Controller/TheseController.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -625,7 +625,7 @@ class TheseController extends AbstractController
        $form = $this->getServiceLocator()->get('formElementManager')->get($estDoctorant ? 'RdvBuTheseDoctorantForm' : 'RdvBuTheseForm');
        $form->bind($rdvBu);

        if (! $this->theseService->isExemplPapierFourniPertinent($these)) {
        if ($form instanceof RdvBuTheseForm && ! $this->theseService->isExemplPapierFourniPertinent($these)) {
            $form->disableExemplPapierFourni();
        }