Commit 3fecd910 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction #29834

parent 03778745
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