mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-08 06:14:54 +02: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