Commit 8833e288 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files
parent 6634a6a9
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/Service/FormuleTestIntervenantService.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ class FormuleTestIntervenantService extends AbstractEntityService
        $nbAutres = 0;
        foreach ($vhdata as $vhd) {
            if ($vhd['TYPE_INTERVENTION_CODE']) {
                if (!array_key_exists($vhd['TYPE_INTERVENTION_CODE'], $typesIntervention) && count($typesIntervention == 8)){
                if (!array_key_exists($vhd['TYPE_INTERVENTION_CODE'], $typesIntervention) && count($typesIntervention) == 8){
                    throw new \Exception('Il est impossible de transférer cette fiche : il y a plus de 5 types d\'intervention spécifiques, différents de CM/TD/TP');
                }