From 7cd7d60c6c929eaac2e1401361f360538bd7d2d2 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Tue, 12 Mar 2024 07:12:19 +0000 Subject: [PATCH] Update file compte.php --- html/compte.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/compte.php b/html/compte.php index 6aef1184..a664ae78 100644 --- a/html/compte.php +++ b/html/compte.php @@ -15,6 +15,7 @@ if($resultat) { $user_display_name = $resultat[0]['display_name']; $user_role = $resultat[0]['role']; $user_pp = $resultat[0]['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $resultat[0]['profile_picture']; + $user_pp_url = $resultat[0]['profile_picture']; $user_banner = $resultat[0]['banner'] = NULL ? "./src/img/empty.jpg" : $resultat[0]['banner']; $user_bio = $resultat[0]['bio']; } else { @@ -143,7 +144,7 @@ if(isset($_POST['user_display_name']) && isset($_POST['user_name']) && isset($_P
-
+