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 "