mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 11:49:56 +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
|
SELECT
|
||||||
id,
|
id,
|
||||||
name
|
name
|
||||||
FROM '.GROUPS_TABLE.'
|
FROM `'.GROUPS_TABLE.'`
|
||||||
;';
|
;';
|
||||||
$groups = query2array($query, 'id', 'name');
|
$groups = query2array($query, 'id', 'name');
|
||||||
natcasesort($groups);
|
natcasesort($groups);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue