From 584381eba40a43feda1321a3e322d51c1d40f253 Mon Sep 17 00:00:00 2001 From: ThaaoBlues Date: Wed, 5 Nov 2025 18:12:38 +0100 Subject: [PATCH] =?UTF-8?q?fix=20:=20ah=20oui=20j'=C3=A9tais=20fatigu?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bdd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bdd.php b/bdd.php index 78d4265..95e2e99 100644 --- a/bdd.php +++ b/bdd.php @@ -237,7 +237,7 @@ function RechercheExercices($query, $length, $tags, $tout_les_insa) global $conn; // Start with the base SQL query - $sql = "SELECT d.titre,d.type,d.upload_path, FROM documents AS d INNER JOIN ensembles AS e ON d.ensemble_id = e.id JOIN (SELECT id,username FROM users) as u ON u.id=e.id_auteur WHERE e.valide=TRUE"; + $sql = "SELECT * FROM documents AS d INNER JOIN ensembles AS e ON d.ensemble_id = e.id JOIN (SELECT id,username FROM users) as u ON u.id=e.id_auteur WHERE e.valide=TRUE"; // Array to hold the parameters $params = [];