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);