Update viewtopic.php

This commit is contained in:
Roman Kelesidis 2024-11-22 01:11:33 +07:00
commit 21d948bf80

View file

@ -345,7 +345,7 @@ $sql = "
WHERE p.topic_id = $topic_id
$limit_posts_time
GROUP BY p.post_id
ORDER BY p.post_time $post_order
ORDER BY p.post_pinned DESC, p.post_time $post_order
LIMIT $start, $posts_per_page
";