diff --git a/html/editpage.php b/html/editpage.php
index 20f16056..249a2987 100644
--- a/html/editpage.php
+++ b/html/editpage.php
@@ -119,7 +119,7 @@ if(isset($fichier)) {
echo "
";
echo "
Articles
";
$bdd = connect($dbhost, $dbname, $dbuser, $dbpass);
- $req = $bdd->prepare("SELECT ID, titre, auteur, date FROM articles WHERE role <= :role ORDER BY date DESC LIMIT 10");
+ $req = $bdd->prepare("SELECT ID, titre, auteur, date FROM articles WHERE classification <= :role ORDER BY date DESC LIMIT 10");
$req->bindParam(":role", $_SESSION['role']);
$req->execute();
$resultat = $req->fetchAll(PDO::FETCH_ASSOC);
diff --git a/html/journal.php b/html/journal.php
index 680a05e7..210d0478 100644
--- a/html/journal.php
+++ b/html/journal.php
@@ -55,7 +55,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
echo "
";
} else {
$bdd = connect($dbhost, $dbname, $dbuser, $dbpass);
- $req = $bdd->prepare("SELECT ID, titre, date, auteur FROM articles WHERE role <= :role ORDER BY date DESC");
+ $req = $bdd->prepare("SELECT ID, titre, date, auteur FROM articles WHERE classification <= :role ORDER BY date DESC");
$req->bindParam(":role", $_SESSION['role']);
$req->execute();
$resultat = $req->fetchAll(PDO::FETCH_ASSOC);