Commit 16b1cde5 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajout d'un cast pour les Importation des stagiaires LAGAF

parent 8a324bf4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -396,7 +396,7 @@ class ImportationLagafController extends AbstractActionController
            /** @var Agent $agent */
            $agent = null;
            $agent = $this->getStagiaireService()->getAgentService()->getAgentByIdentification($st_prenom, $st_nom);
            if ($agent) $stagiaire->setOctopusId($agent->getId());
            if ($agent) $stagiaire->setOctopusId((string) $agent->getId());
            $this->getStagiaireService()->create($stagiaire);
            $stagiaires[] = $stagiaire;