diff --git a/e107_plugins/forum/forum.css b/e107_plugins/forum/forum.css index a304d41e0..90c47ed29 100644 --- a/e107_plugins/forum/forum.css +++ b/e107_plugins/forum/forum.css @@ -4,6 +4,7 @@ #poll.tab-pane .form-group { margin-left: 0; margin-right:0} +#forum-viewtopic { margin-top: 15px } #forum-viewtopic li.forum-viewtopic-post { border-top:1px solid #EEE; padding:15px 10px } #forum-viewtopic li.forum-viewtopic-post:nth-child(odd) { background: #F5F5F5 } #forum-viewtopic li ul.thumbnails { margin-top:15px } diff --git a/e107_plugins/forum/forum_viewtopic.php b/e107_plugins/forum/forum_viewtopic.php index 6f4bdeba0..9c5f2b42f 100644 --- a/e107_plugins/forum/forum_viewtopic.php +++ b/e107_plugins/forum/forum_viewtopic.php @@ -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; }