diff --git a/html/compte.php b/html/compte.php
index 49aa009d..c91598e1 100644
--- a/html/compte.php
+++ b/html/compte.php
@@ -249,7 +249,7 @@ if (isset($_FILES['banner']) && $_FILES['banner']['error'] == 0) {
prepare("SELECT ID, titre, date, auteur, image, resume FROM articles WHERE (titre LIKE :search OR ID LIKE :search OR auteur LIKE :search) AND classification <= :accreditation AND auteur = :user_id ORDER BY date DESC");
+ $req = $bdd->prepare("SELECT ID, titre, date, image, resume FROM articles WHERE (titre LIKE :search OR ID LIKE :search OR auteur LIKE :search) AND classification <= :accreditation AND auteur = :user_id ORDER BY date DESC");
$req->bindParam(":search", $search);
$req->bindParam(":accreditation", $_SESSION['accreditation']);
$req->bindParam(":user_id", $user_id);
@@ -266,7 +266,7 @@ if (isset($_FILES['banner']) && $_FILES['banner']['error'] == 0) {
echo '';
echo '';
echo '