mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #1547 protect word "groups" for MySQL 8
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user