This commit is contained in:
KONE SOREL 2026-03-14 18:52:46 +00:00
parent bf119d5280
commit 422e565270

View File

@ -17,13 +17,9 @@ class Gestionconfiee extends Modele {
{
$sql = "sp_get_garant_id(?);";
$sql = "SELECT a.*, b.libelle as typegc FROM gc_assureur a
JOIN gc_typegarant b ON (a.typeGarant = b.id)
WHERE a.id=?";
$resultat = $this->executerRequete($sql, array($idGc));
$context = $resultat->fetch(PDO::FETCH_ASSOC);
var_dump($context);
die();
$_SESSION['codeGcAssureur_C'] = $context['codeGcAssureur'];
$_SESSION['GcAssureur_C'] = $context['libelle'];
return $context;