mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Forum: pagination fix.
This commit is contained in:
@@ -668,7 +668,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