Update file journal.php

This commit is contained in:
Jan BELLON 2024-03-07 14:22:42 +00:00
parent 582b53fff8
commit b0c85e6fd4

View File

@ -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) {