Commit e59bcbda authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction erreur 500 edition statut intervenant suite suppression des...

Correction erreur 500 edition statut intervenant suite suppression des codes-corresp de l'entity statutIntervenant (cf commit f5cab4cc)
parent c1fb7655
Loading
Loading
Loading
Loading
+0 −5
Changes for module/Application/src/Application/Hydrator/StatutIntervenantHydrator.php: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -196,11 +196,6 @@ class StatutIntervenantHydrator implements HydratorInterface
            }
        }

        for ($i = 1; $i < 5; $i++) {
            $function                    = 'getCodesCorresp' . $i;
            $data['codes-corresp-' . $i] = $object->$function();
        }

        $typesAgrementsStatuts = $object->getTypeAgrementStatut();
        foreach ($typesAgrementsStatuts as $tas) {
            if (!$tas->getHistoDestruction()) {