From e514a43e545c18b61a474378ba50722130257026 Mon Sep 17 00:00:00 2001 From: Jimako Date: Sun, 27 Mar 2022 20:44:19 +0200 Subject: [PATCH] Fix for Forum permissions for creating topics FIX #3974 --- e107_plugins/forum/forum_viewforum.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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);