From a07faed96a4711e303c49e2fbdbe009583ba4688 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Fri, 8 Mar 2024 15:46:39 +0000 Subject: [PATCH] Update file news.php --- html/news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/news.php b/html/news.php index 2461584c..299878ac 100644 --- a/html/news.php +++ b/html/news.php @@ -58,7 +58,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { $resultat = $req->fetchAll(PDO::FETCH_ASSOC);; if ($resultat) { - $date = new Datetime($row[0]['date']) + $date = new Datetime($row[0]['date']); echo "

"; echo "
" . $row[0]['ID'] . "
"; echo "
" . $row[0]['titre'] . "
";