From 9e243ff5f359ca321a52d1ef7e694f302be92016 Mon Sep 17 00:00:00 2001 From: Antony Le Courtes <antony.lecourtes@unicaen.fr> Date: Mon, 9 Jan 2023 10:42:08 +0100 Subject: [PATCH] Correction #48151 --- module/Intervenant/src/Service/StatutService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Intervenant/src/Service/StatutService.php b/module/Intervenant/src/Service/StatutService.php index 0ba3e3450a..ae19e0891d 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; } -- GitLab