1
0
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:
Cameron
2015-05-08 13:04:23 -07:00
parent 4da0e4789d
commit cec9f33168
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
}