diff --git a/libs/eleves/eleve.lib.php b/libs/eleves/eleve.lib.php index 33cacbf..85a2a1c 100644 --- a/libs/eleves/eleve.lib.php +++ b/libs/eleves/eleve.lib.php @@ -19,7 +19,7 @@ class Eleve { $this->user = $entryManager->getOne($userId); // echo "

".var_dump($userId)."

"; $this->parents = []; - foreach ($entryManager->search(['formsIds' => 9, 'queries' => ['listefiche7bf_eleve' => $userId]]) as $parent) { + foreach ($entryManager->search(['formsIds' => 10, 'queries' => ['listefiche7bf_eleve' => $userId]]) as $parent) { array_push($this->parents, new ParentEleve($entryManager, $yunoshostFormId, $parent)); } // echo "

".var_dump($this)."

";