aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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']))