mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-02 14:19:59 +03:00
fixes #1547 protect word "groups" for MySQL 8
This commit is contained in:
parent
97fce5d251
commit
52a800ee6c
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ function get_columns_of($tables)
|
||||||
foreach ($tables as $table)
|
foreach ($tables as $table)
|
||||||
{
|
{
|
||||||
$query = '
|
$query = '
|
||||||
DESC '.$table.'
|
DESC `'.$table.'`
|
||||||
;';
|
;';
|
||||||
$result = pwg_query($query);
|
$result = pwg_query($query);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue