Skip to content

Commit

Permalink
Fix topics toplist not correctly displayed when multiple pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu committed Jan 23, 2025
1 parent a7e7a4d commit c7c45de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/toplist.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public function main()
];

$sql = $this->db->sql_build_query('SELECT',$topics_data_sql);
$result = $this->db->sql_query_limit($sql, $end, $start);
$result = $this->db->sql_query($sql);
while ($row = $this->db->sql_fetchrow($result))
{
$rowset[(int) $row['topic_id']] = array_merge($rowset[(int) $row['topic_id']], $row);
Expand Down

0 comments on commit c7c45de

Please sign in to comment.