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') . ""; } } }