This commit is contained in:
2026-01-05 13:20:43 +00:00
parent 28ac1513f7
commit f3a2dfc842
2 changed files with 6 additions and 4 deletions

View File

@@ -31,8 +31,9 @@ class Beneficiaire extends Modele {
public function getBeneficiairesAdh($numeroAdherent) {
$sql = 'call sp_r_recherche_beneficiaire_no_adh(?, ?);';
$beneficiaires = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroAdherent));
return $beneficiaires;
$resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $numeroAdherent));
// return $resultat;
return $resultat ->fetchAll(PDO::FETCH_ASSOC);
}
public function getBeneficiaire($numeroBeneficiaire)