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

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

parents 5650a440 3fecd910
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/Application/Entity/Db/Intervenant.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1194,7 +1194,7 @@ class Intervenant implements HistoriqueAwareInterface, ResourceInterface, AnneeA
    {
        $result = $this->histoService->filter(function (HistoIntervenantService $histoService) use ($typeVolumeHoraire, $referentiel) {
            return
                ($histoService->getTypeVolumeHoraire() == $typeVolumeHoraire || $histoService->getTypeVolumeHoraire() === null)
                ($histoService->getTypeVolumeHoraire() == $typeVolumeHoraire)
                && $histoService->getReferentiel() == $referentiel;
        });
        if ($result->count() == 1) { // un seul résultat