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"],