mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
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
This commit is contained in:
@@ -440,7 +440,7 @@ SELECT
|
||||
WHERE i.status in (\'webmaster\', \'admin\')
|
||||
AND u.'.$conf['user_fields']['email'].' IS NOT NULL
|
||||
AND i.user_id <> '.$user['id'].'
|
||||
ORDER BY username
|
||||
ORDER BY name
|
||||
;';
|
||||
$admins = array_from_query($query);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user