Forms is 10 in reality

This commit is contained in:
mckmonster 2024-09-04 16:28:48 +02:00
parent 52508cc24e
commit 7927889bab

View file

@ -19,7 +19,7 @@ class Eleve {
$this->user = $entryManager->getOne($userId);
// echo "<p>".var_dump($userId)."</p>";
$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 "<p>".var_dump($this)."</p>";