diff --git a/html/editpage.php b/html/editpage.php index e42d29c1..a5289b68 100644 --- a/html/editpage.php +++ b/html/editpage.php @@ -128,7 +128,7 @@ if(isset($fichier)) { 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') . ""; } } echo "";