From 45c1cf76af5f5e98f750269db8401b6015d6048e Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 20:58:30 +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 84319eb8..628ff72d 100644 --- a/html/journal.php +++ b/html/journal.php @@ -64,7 +64,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { if ($resultat) { foreach($resultat as $row) { - echo "

" . $row['titre'] . "

" . $row['auteur'] . "

" . $classifications[$row['classification']] . "
" . $date->format('d/m/Y') . "
"; + echo "

" . $row['titre'] . "

" . $row['auteur'] . "

" . $classifications[(int)$row['classification']] . "
" . $date->format('d/m/Y') . "
"; } } }