From 7927889bab725456fe6364626f38d56fcacc64c5 Mon Sep 17 00:00:00 2001 From: mckmonster Date: Wed, 4 Sep 2024 16:28:48 +0200 Subject: [PATCH] Forms is 10 in reality --- libs/eleves/eleve.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)."

";