fixes #2221 use backticks instead of quotes

...because that's what backticks are for.
This commit is contained in:
Linty
2024-09-03 16:19:06 +02:00
parent 1de27871b3
commit 40ca83d382

View File

@@ -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));
}