From 64e118d8860d1f85eb49aa9f67142148c19a31d2 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Mon, 11 Mar 2024 22:06:55 +0000 Subject: [PATCH] Update file compte.php --- html/compte.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/compte.php b/html/compte.php index 2052e872..42021494 100644 --- a/html/compte.php +++ b/html/compte.php @@ -17,6 +17,8 @@ if($resultat) { $user_pp = $resultat[0]['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $resultat[0]['profile_picture']; $user_banner = $resultat[0]['banner'] = NULL ? "./src/img/empty.jpg" : $resultat[0]['banner']; $user_bio = $resultat[0]['bio']; +} else { + die("Erreur, utilisateur introuvable"); } ?>