From fe40ca2092c8f70c5db0103e7a0b96be212d1de7 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 25 Jun 2026 18:17:31 +0000 Subject: [PATCH] a --- Controleur/ControleurRecherche.php | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Controleur/ControleurRecherche.php b/Controleur/ControleurRecherche.php index dab100b..83c5689 100755 --- a/Controleur/ControleurRecherche.php +++ b/Controleur/ControleurRecherche.php @@ -627,6 +627,13 @@ class ControleurRecherche extends Controleur { } } // Fin Kine Séances + + if ($beneficiaires->rowCount() == 0) + { + $this->rediriger("Recherche"); + exit(); + } + } else { $codePrestataire = $_SESSION['p_codePrestataire_C']; @@ -665,16 +672,6 @@ class ControleurRecherche extends Controleur { $beneficiaires_kane = $this->beneficiaire->getBeneficiaireVide(); } - /* - var_dump( - array( - "beneficiaires" => $beneficiaires, - "beneficiaires_kane" => $beneficiaires_kane, - ) - ); - exit(); - */ - if (est_anglophone()){ $listes = [ ['code'=>"1",'libelle'=>"All"],