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 {