From 2c9e9fdcfe97300f62746dbc1470671f9b5cd8a8 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Mon, 5 Jan 2026 12:13:56 +0000 Subject: [PATCH] a --- Controleur/ControleurRechercherassure.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controleur/ControleurRechercherassure.php b/Controleur/ControleurRechercherassure.php index a406f08..dce73d1 100644 --- a/Controleur/ControleurRechercherassure.php +++ b/Controleur/ControleurRechercherassure.php @@ -59,8 +59,8 @@ class ControleurRechercherassure extends Controleur { } - if (count($beneficiaires) == 1) - + // if (count($beneficiaires) == 1) + if ($beneficiaires->rowCount() == 1) { $this->rediriger("Fichebeneficiaire", $beneficiaires['0']['id']); } else