From 5bbc7acd8ddc03a3cfe5c9684f5e16c79f354223 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 13 Jan 2011 09:19:17 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.users.tree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ws/Controlleur/class.ws.users.tree.php b/inc/ws/Controlleur/class.ws.users.tree.php index 091497dc7..0de0bc962 100644 --- a/inc/ws/Controlleur/class.ws.users.tree.php +++ b/inc/ws/Controlleur/class.ws.users.tree.php @@ -25,7 +25,7 @@ class wsUsersTree { $this->rights = array(); - $r = $this->con->select('SELECT * FROM utilisateurs u,entreprises e WHERE u.entreprise=e.entreprise_id AND e.ws_grade>0 ORDER BY ws_grade DESC'); + $r = $this->con->select('SELECT * FROM utilisateurs u,entreprises e WHERE u.entreprise=e.entreprise_id AND e.ws_grade>0 ORDER BY e.ws_grade DESC'); while ($r->fetch()) { $this->users[$r->utilisateur_id] = $r->ws_admin; $this->grades[$r->utilisateur_id] = $r->ws_grade; -- 2.39.5