mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-03 20:12:44 +02:00
- 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:
@@ -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']))
|
||||
|
||||
Reference in New Issue
Block a user