From b0c85e6fd4391c190b7a031c11e281e4ec06c3e2 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 14:22:42 +0000 Subject: [PATCH] Update file journal.php --- html/journal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/journal.php b/html/journal.php index 201ebee7..0b939820 100644 --- a/html/journal.php +++ b/html/journal.php @@ -58,7 +58,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { $req = $bdd->prepare("SELECT ID, titre, date, auteur FROM articles ORDER BY date DESC"); $req->execute(); $resultat = $req->fetchAll(PDO::FETCH_ASSOC); - + $date = new Datetime($row['date']); if ($resultat) {