aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-05-06 20:48:52 +0000
committerplegall <plg@piwigo.org>2005-05-06 20:48:52 +0000
commitfd2cc0d700e601caf3af8c98156f036ffec697f4 (patch)
treebd0f5af517f47798186050acbc51ccc2cda1623c /admin/user_list.php
parent9cfba96167a8d6e67d6e3a257e87e27483c478ec (diff)
- bug fixed : users belonging to several groups were shown several times
git-svn-id: http://piwigo.org/svn/trunk@786 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/user_list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/user_list.php b/admin/user_list.php
index 615ecdf58..c53a39220 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -278,7 +278,7 @@ if (isset($_GET['direction'])
}
$query = '
-SELECT id, username, mail_address, status
+SELECT DISTINCT(id), username, mail_address, status
FROM '.USERS_TABLE.' LEFT JOIN '.USER_GROUP_TABLE.' ON id = user_id
WHERE id != 2';
if (isset($filter['username']))