Commit 498cd4e7 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajustement pour AMU

parent adffa0e4
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Structure/src/Structure/Service/Structure/StructureService.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -380,8 +380,9 @@ EOS;
     * @param Agent|null $agent
     * @return boolean
     */
    public function isResponsable(Structure $structure, ?Agent $agent)  : bool
    public function isResponsable(?Structure $structure, ?Agent $agent)  : bool
    {
        if ($structure === null) return false;
        if ($agent === null) return false;
        $date = (new DateTime());