From: vincent@cubedesigners.com Date: Thu, 13 Jan 2011 09:19:17 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=5bbc7acd8ddc03a3cfe5c9684f5e16c79f354223;p=cubeextranet.git --- 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;