From 9ccbcb7a3056ab8a9d8940be8ae8133de3401eb9 Mon Sep 17 00:00:00 2001 From: Noah Date: Wed, 10 Jun 2026 20:43:17 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20retour=20null=20au=20lieu=20de=20false?= =?UTF-8?q?=20dans=20recuperation=5Fauth,=20require=5Fonce=20pour=20=C3=A9?= =?UTF-8?q?viter=20re-d=C3=A9claration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/contact_crtl.php | 2 +- controllers/lecture_page_ctrl.php | 2 +- controllers/modif_compte_ctrl.php | 4 ++-- controllers/operation_ctrl.php | 4 ++-- controllers/utilisateur_ctrl.php | 4 ++-- models/user_crud.php | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/controllers/contact_crtl.php b/controllers/contact_crtl.php index 11f1a35..57daf97 100644 --- a/controllers/contact_crtl.php +++ b/controllers/contact_crtl.php @@ -1,7 +1,7 @@ execute(); $auth = $prep->fetch(PDO::FETCH_ASSOC); $prep->closeCursor(); - return $auth; + return $auth ?: null; } \ No newline at end of file