From 83e6908475af31332c76aa63bdc1920ee7174224 Mon Sep 17 00:00:00 2001 From: ThaaoBlues Date: Wed, 5 Nov 2025 18:15:40 +0100 Subject: [PATCH] =?UTF-8?q?fix=20:=20j'aurais=20d=C3=BB=20me=20relire?= 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 9477813..7ff3f21 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 * FROM documents AS d INNER JOIN ensembles AS e ON d.ensemble_id = e.id JOIN (SELECT id,username,num_insa 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,nom_insa FROM users) as u ON u.id=e.id_auteur WHERE e.valide=TRUE"; // Array to hold the parameters $params = [];