From 5d8598ae4fa2610754f38be955862a5ff74aa845 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Tue, 12 Mar 2024 07:29:03 +0000 Subject: [PATCH] Update file news.php --- html/news.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/news.php b/html/news.php index 7f190574..679d820d 100644 --- a/html/news.php +++ b/html/news.php @@ -106,12 +106,13 @@ if (isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT) if ($resultat) { $date = strtotime($resultat[0]['date']); + $auteur_pp = $resultat[0]['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $resultat[0]['profile_picture'] echo "