diff --git a/module/Application/src/Application/Processus/Intervenant/SuppressionProcessus.php b/module/Application/src/Application/Processus/Intervenant/SuppressionProcessus.php index 22055196713cce522445fb7cea07e389ffe15b11..426a88a041bb60d57420e49c95490b44a67b251a 100755 --- a/module/Application/src/Application/Processus/Intervenant/SuppressionProcessus.php +++ b/module/Application/src/Application/Processus/Intervenant/SuppressionProcessus.php @@ -112,7 +112,7 @@ class SuppressionProcessus foreach ($entities['Contrat'] as $v) { /** @var Contrat $avenant */ $avenant = $v->getEntity(); - if ($avenant->estUnAvenant()){ + if ($avenant->estUnAvenant()) { $this->getServiceContrat()->delete($v->getEntity(), false); } } @@ -175,8 +175,8 @@ class SuppressionProcessus } /* Dossier */ - if (isset($entities['Dossier'])) { - foreach ($entities['Dossier'] as $v) { + if (isset($entities['IntervenantDossier'])) { + foreach ($entities['IntervenantDossier'] as $v) { $this->getServiceDossier()->delete($v->getEntity(), false); } }