From fe214ac9278ef52fc0fcddf4e42bfe249ab5bcb0 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 21:31:37 +0000 Subject: [PATCH] Update file users.php --- html/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/users.php b/html/users.php index 760511a1..ab95fb2b 100644 --- a/html/users.php +++ b/html/users.php @@ -61,7 +61,7 @@ if(isset($_POST['userid']) && isset($_POST['role']) && $_POST['userid'] != $_SES
prepare("SELECT display_name, username, email, role FROM users ORDER BY creation_date DESC"); + $req = $bdd->prepare("SELECT ID, display_name, username, email, role FROM users ORDER BY creation_date DESC"); $req->execute(); $resultat = $req->fetchAll(PDO::FETCH_ASSOC);