Use good link for user

This commit is contained in:
mckmonster 2024-09-04 12:30:50 +02:00
parent 03dee9a889
commit 7ea50c721d

View file

@ -11,7 +11,7 @@ class Eleve {
public function __construct(EntryManager $entryManager, $yunoshostFormId, $data) {
$this->data = $data;
// echo "<p>".var_dump($data)."</p>";
$userId = $data['listefiche'.$yunoshostFormId.'Listebf_nom'];
$userId = $data['listefiche'.$yunoshostFormId.'bf_nom'];
$this->user = $entryManager->getOne($userId);
// echo "<p>".var_dump($this)."</p>";
}