Commit 6f768690 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

ControllerAssertion: correction bug lorsque thèse === null

parent a71d81e0
Loading
Loading
Loading
Loading
Loading
+4
Changes for module/Application/src/Application/Assertion/These/TheseControllerAssertion.php: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -62,6 +62,10 @@ class TheseControllerAssertion implements ControllerAssertionInterface
                return $this->assertAsDoctorant($controller, $action);
        }

        if ($this->these === null) {
            return false;
        }

        if (! $this->isStructureDuRoleRespectee()) {
            return false;
        }