From c72bf19396310fe7cc60a64cc76ca088d7df843f Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 25 Jun 2026 17:44:40 +0000 Subject: [PATCH] a --- Controleur/ControleurRecherche.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Controleur/ControleurRecherche.php b/Controleur/ControleurRecherche.php index e40085e..aed2652 100755 --- a/Controleur/ControleurRecherche.php +++ b/Controleur/ControleurRecherche.php @@ -151,11 +151,10 @@ class ControleurRecherche extends Controleur { { if ($_SESSION['p_codeProfil_C']=="CSO") { + $idBeneficiaire = "0"; + $resultat = $this->beneficiaire->getBeneficiaireConsultationCso($numeroBonConsultation); - var_dump($resultat); - return; - if(is_array($resultat)){ $idBeneficiaire = $resultat['idBeneficiaire']; }else{ @@ -204,6 +203,10 @@ class ControleurRecherche extends Controleur { { $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); } + + var_dump($resultat); + return; + } else {