Commit 661b05e8 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction provisoire pour débug le problème d'assertion de modifier-persopass

parent 9aad36c7
Loading
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Application/src/Application/Assertion/These/TheseControllerAssertion.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -70,7 +70,8 @@ class TheseControllerAssertion extends ControllerAssertion
                break;
        }

        return $this->these && $this->these->getDoctorant()->getId() === $this->getIdentityDoctorant()->getId();
//        return $this->these && $this->these->getDoctorant()->getId() === $this->getIdentityDoctorant()->getId();
        return $this->doctorant->getId() === $this->getIdentityDoctorant()->getId();
    }

    /**