mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
fixes #2034 protect reserved word in MySQL 8
This commit is contained in:
parent
9ca0b7bec0
commit
1dfa5b0d30
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ switch ($page['section'])
|
|||
SELECT
|
||||
id,
|
||||
name
|
||||
FROM '.GROUPS_TABLE.'
|
||||
FROM `'.GROUPS_TABLE.'`
|
||||
;';
|
||||
$groups = query2array($query, 'id', 'name');
|
||||
natcasesort($groups);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue