Commit 799f859d authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Correction erreur de variable

parent bbc74962
Loading
Loading
Loading
Loading
+1 −2
Changes for module/Application/src/Application/Navigation/ApplicationNavigationFactory.php: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -108,9 +108,8 @@ class ApplicationNavigationFactory extends NavigationFactory
         */
        // Rôles acteurs de thèses (Dir, Codir, etc.) : génération d'une page "Mes thèses" contenant une page fille par thèse
        if ($protoPage = $page['pages'][$key = self::MES_THESES_PAGE_ID] ?? null) {
            /** @var Role $role */
            if ($this->role !== null && $this->role->isActeurDeThese()) {
                $theses = $this->theseService->getRepository()->findThesesByActeur($this->individu, $role, [These::ETAT_EN_COURS]);
                $theses = $this->theseService->getRepository()->findThesesByActeur($this->individu, $this->role, [These::ETAT_EN_COURS]);
                $newPages = $this->createPageMesTheses($protoPage, $theses);
                $page['pages'][$key]['pages'] = $newPages;
            } else {