From 04e468e68f330c2df97d3997bc85c8f3a8d3e9c6 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 25 Jun 2026 18:03:00 +0000 Subject: [PATCH] a --- Controleur/ControleurRecherche.php | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Controleur/ControleurRecherche.php b/Controleur/ControleurRecherche.php index 7e2b41a..211fe15 100755 --- a/Controleur/ControleurRecherche.php +++ b/Controleur/ControleurRecherche.php @@ -647,14 +647,6 @@ class ControleurRecherche extends Controleur { $beneficiaires = $this->beneficiaire->getBeneficiaireVide(); } - var_dump( - array( - "beneficiaires" => $beneficiaires, - "rowCount" => $beneficiaires->rowCount(), - ) - ); - exit(); - if ($beneficiaires->rowCount() == 1) { $beneficiaire = $beneficiaires->fetch(); @@ -667,9 +659,16 @@ class ControleurRecherche extends Controleur { { $nbligne = $beneficiaires->rowCount(); $beneficiaire = $beneficiaires->fetch(); - + + var_dump( + array( + "beneficiaires" => $beneficiaires, + "nbligne" => $nbligne, + ) + ); + exit(); + if(!is_array($beneficiaire)){ - $beneficiaires = array(); }