From 803f8984994e01b5f6b961fd47bcc7d40380ad5a Mon Sep 17 00:00:00 2001 From: Baptiste D Date: Wed, 15 Nov 2023 17:24:18 +0100 Subject: [PATCH] commit --- php/src/modele/OffreModele.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src/modele/OffreModele.php b/php/src/modele/OffreModele.php index e50c631..9b15426 100644 --- a/php/src/modele/OffreModele.php +++ b/php/src/modele/OffreModele.php @@ -94,7 +94,7 @@ class OffreModele $resal = $alGw->ObtenirById($row['offreur']); $profilGw = new ProfilGateway(new Connection("mysql:host=localhost;dbname=dbAlica", "Dev", "Dev")); $resProfl = $profilGw->getProfilById($row['offreur']); - + $alumni = new Alumni($resal[0]['mail'],$resal[0]['mdp'],$resal[0]['role'],$resProfl[0]['nom'],$resProfl[0]["prenom"]); $date = \DateTime::createFromFormat('Y-m-d', $row['date']);