From a4e9da3f76cd125f97aad4b96f8b56fe8941a9f2 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Sat, 14 Mar 2026 19:01:51 +0000 Subject: [PATCH] RTT --- Modele/Gestionconfiee.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modele/Gestionconfiee.php b/Modele/Gestionconfiee.php index 4ee36f00..95d6b061 100755 --- a/Modele/Gestionconfiee.php +++ b/Modele/Gestionconfiee.php @@ -15,13 +15,14 @@ class Gestionconfiee extends Modele { public function getGcAssureurId($idGc) { - $sql = "sp_get_garant_id(?);"; + $sql = "CALL sp_get_garant_id(?);"; $resultat = $this->executerRequete($sql, array($idGc)); $context = $resultat->fetch(PDO::FETCH_ASSOC); $_SESSION['codeGcAssureur_C'] = $context['codeGcAssureur']; $_SESSION['GcAssureur_C'] = $context['libelle']; + return $context; }