mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1547 protect word "groups" for MySQL 8
This commit is contained in:
@@ -78,7 +78,7 @@ function get_columns_of($tables)
|
||||
foreach ($tables as $table)
|
||||
{
|
||||
$query = '
|
||||
DESC '.$table.'
|
||||
DESC `'.$table.'`
|
||||
;';
|
||||
$result = pwg_query($query);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user