mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-13 21:31:35 +02:00
fixes #1343 remove auto-escape of reserved keywords on MySQL 8
ie no more adding backticks around "rank" and "groups". Too many collateral damages.
This commit is contained in:
@@ -49,7 +49,7 @@ $query.= '
|
||||
if ('recent_cats' != $page['section'])
|
||||
{
|
||||
$query.= '
|
||||
ORDER BY rank';
|
||||
ORDER BY `rank`';
|
||||
}
|
||||
|
||||
$result = pwg_query($query);
|
||||
|
||||
Reference in New Issue
Block a user