mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 05:13:54 -07:00
Update viewtopic.php
This commit is contained in:
parent
7c588ac13b
commit
21d948bf80
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ $sql = "
|
||||||
WHERE p.topic_id = $topic_id
|
WHERE p.topic_id = $topic_id
|
||||||
$limit_posts_time
|
$limit_posts_time
|
||||||
GROUP BY p.post_id
|
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
|
LIMIT $start, $posts_per_page
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue