mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-06 13:32:52 +02:00
fixes #2221 use backticks instead of quotes
...because that's what backticks are for.
This commit is contained in:
@@ -322,7 +322,7 @@ SELECT SQL_CALC_FOUND_ROWS
|
||||
if (isset($params['limit']))
|
||||
{
|
||||
$query .= '
|
||||
ORDER BY \'rank\' ASC
|
||||
ORDER BY `rank` ASC
|
||||
LIMIT '.($params['limit'] + ($params['cat_id'] > 0 ? 1 : 0));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user