diff --git a/module/Intervenant/src/Service/StatutService.php b/module/Intervenant/src/Service/StatutService.php index 0ba3e3450aafa8242e7ea2b42d1a5eb93f691cb8..ae19e0891d9070b87813115d033ea3c9ebf509bf 100755 --- a/module/Intervenant/src/Service/StatutService.php +++ b/module/Intervenant/src/Service/StatutService.php @@ -90,7 +90,7 @@ class StatutService extends AbstractEntityService $result = []; foreach ($statuts as $value) { if ($value instanceof Statut) { - if (($value->estNonHistorise() && $value->getDossierSelectionnable()) || + if (($value->estNonHistorise() && $value->getDossierSelectionnable() && $value->getDossier()) || $statut->getCode() == $value->getCode()) { $result[] = $value; }