aboutsummaryrefslogtreecommitdiffstats
path: root/admin/group_list.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-03-28 13:24:14 +0000
committerplegall <plg@piwigo.org>2014-03-28 13:24:14 +0000
commita6820e70bde7afc3e1b7ea537e4aff530675299b (patch)
tree9c7957d2afe6cba5b1712074005f8ef61a49055a /admin/group_list.php
parent2b48fcc5cf4ffaeca33bf149f3e3094f3a756e58 (diff)
bug 3065 fixed: avoid SQL errors with external authentication
git-svn-id: http://piwigo.org/svn/branches/2.6@27996 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/group_list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/group_list.php b/admin/group_list.php
index 4912458f7..5c53a8b1f 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -394,7 +394,7 @@ $toggle_is_default_url = $admin_url.'group_list&amp;toggle_is_default=';
while ($row = pwg_db_fetch_assoc($result))
{
$query = '
-SELECT username
+SELECT u.'. $conf['user_fields']['username'].' AS username
FROM '.USERS_TABLE.' AS u
INNER JOIN '.USER_GROUP_TABLE.' AS ug
ON u.'.$conf['user_fields']['id'].' = ug.user_id