mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Fixed: pagination won't show up, if forum topic has e.g 21 posts and the posts/page limit is set to 20.
This commit is contained in:
@@ -734,7 +734,7 @@ class e107ForumThread
|
||||
exit;
|
||||
}
|
||||
|
||||
$totalPosts = $this->threadInfo['thread_total_replies']; // + 1; // add 1 for the original post . ie. not a reply.
|
||||
$totalPosts = $this->threadInfo['thread_total_replies'] + 1; // add +1 for the original post. ie. not a reply.
|
||||
$this->pages = ceil(($totalPosts) / $this->perPage);
|
||||
$this->noInc = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user