Commit fb3ae6fa authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Merge branch 'master' of https://git.unicaen.fr/open-source/OSE

parents a39709cd 20495f43
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -199,7 +199,9 @@ class VolumeHoraire implements HistoriqueAwareInterface, ResourceInterface, Impo
    {
        if (!$this->etatVolumeHoraire) return null;

        return $this->etatVolumeHoraire->first();
        $result = $this->etatVolumeHoraire->first();

        return ($result) ?: null;
    }