mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2034 protect reserved word in MySQL 8
This commit is contained in:
@@ -405,7 +405,7 @@ switch ($page['section'])
|
||||
SELECT
|
||||
id,
|
||||
name
|
||||
FROM '.GROUPS_TABLE.'
|
||||
FROM `'.GROUPS_TABLE.'`
|
||||
;';
|
||||
$groups = query2array($query, 'id', 'name');
|
||||
natcasesort($groups);
|
||||
|
||||
Reference in New Issue
Block a user