From 7ea50c721d50a3afb3ab9860d4f57755da70b477 Mon Sep 17 00:00:00 2001 From: mckmonster Date: Wed, 4 Sep 2024 12:30:50 +0200 Subject: [PATCH] Use good link for user --- 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 42531d9..de1f3ae 100644 --- a/libs/eleves/eleve.lib.php +++ b/libs/eleves/eleve.lib.php @@ -11,7 +11,7 @@ class Eleve { public function __construct(EntryManager $entryManager, $yunoshostFormId, $data) { $this->data = $data; // echo "

".var_dump($data)."

"; - $userId = $data['listefiche'.$yunoshostFormId.'Listebf_nom']; + $userId = $data['listefiche'.$yunoshostFormId.'bf_nom']; $this->user = $entryManager->getOne($userId); // echo "

".var_dump($this)."

"; }