Commit f608d98cb86023c8652c44dbe8a7590188555e17

Authored by Michael Joseph
1 parent 61edb13a

#3515 added distinct


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2783 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/usermanagement/listUsersUI.inc
... ... @@ -48,7 +48,7 @@ function getGroupDisplay($iGroupID) {
48 48  
49 49 function getUsers($fGroupID) {
50 50 global $default;
51   - $sQuery = "SELECT U.id as userID, U.name as name, U.username, " .
  51 + $sQuery = "SELECT DISTINCT U.id as userID, U.name as name, U.username, " .
52 52 "'Edit', 'Delete', 'Edit Groups' " .
53 53 "FROM $default->users_table U " .
54 54 "INNER JOIN $default->users_groups_table UGL ON U.id = UGL.user_id " .
... ...