Type: Bugfix Software: shimmie2 Module: comments Reference: http://trac.shishnet.org/shimmie2/browser/branches/branch_2.2/ext/comment/main.php Verified: Yes Solved: Yes Official res.: Unknown Author: Daniel Marschall Date: 2008-10-18 1. Not all comment pages are shown. 1 page is always missing because of wrong rounding of the values. ~ ext/comment/main.php # Find $total_pages = (int)($database->db->GetOne("SELECT COUNT(distinct image_id) AS count FROM comments") / 10); # Replace with $total_pages = ceil(($database->db->GetOne("SELECT COUNT(distinct image_id) AS count FROM comments") / $threads_per_page)); # Note: The hardcoded 10 was replaced with $threads_per_page in 1 step. # Line 210 2. Also we could correct the 2nd hardcoded 10 in line 215. Just a small cosmetic improvement at the moment. ~ ext/comment/main.php # Find $n = 10; # Replace with $n = $threads_per_page; # Line 215