diff --git a/html/editpage.php b/html/editpage.php index 00b253a3..0c3cf22d 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'] . "Classification : " . $classifications[$row['classificaation']] . "" . $row['auteur'] . "" . $date->format('d/m/Y') . ""; + echo "" . $row['titre'] . "" . $row['auteur'] . "Classification : " . $classifications[$row['classification']] . "" . $date->format('d/m/Y') . ""; } } echo ""; diff --git a/html/journal.php b/html/journal.php index 7d7505b0..071d1f48 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'] . "Classification : " . $classifications[$row['classificaation']] . "" . $row['auteur'] . "" . $date->format('d/m/Y') . ""; + echo "" . $row['titre'] . "" . $row['auteur'] . "Classification : " . $classifications[$row['classification']] . "" . $date->format('d/m/Y') . ""; } } }