fixes #1188 since 5b65fca3 the rank word can be surrounded by backticks

This commit is contained in:
plegall 2020-05-19 16:56:52 +02:00
parent b31d68fbd9
commit ba264c5743

View file

@ -109,7 +109,7 @@ SELECT *
;';
$category = pwg_db_fetch_assoc(pwg_query($query));
if ($category['image_order']=='rank ASC')
if ($category['image_order']=='rank ASC' or $category['image_order']=='`rank` ASC')
{
$image_order_choice = 'rank';
}