diff --git a/e107_plugins/forum/forum_viewforum.php b/e107_plugins/forum/forum_viewforum.php index 71798e933..45b37baf5 100644 --- a/e107_plugins/forum/forum_viewforum.php +++ b/e107_plugins/forum/forum_viewforum.php @@ -305,8 +305,7 @@ function init() } } -//-- if($forum->checkPerm($forumId, 'thread')) //new thread access only. - if($forum->checkPerm($forumId, 'post')) //new thread access only. + if($forum->checkPerm($forumId, 'thread')) //new thread access only. { $forumSCvars['ntUrl'] = e107::url('forum', 'post') . "?f=nt&id=" . $forumId; } @@ -565,4 +564,4 @@ function init() new forum_viewforum_front(); -require_once(FOOTERF); \ No newline at end of file +require_once(FOOTERF);