- 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
This commit is contained in:
plegall
2005-05-06 20:48:52 +00:00
parent 9cfba96167
commit fd2cc0d700

View File

@@ -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']))