1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

Merge pull request #4718 from Jimmi08/patch-17

Fixes #3974 Forum permissions for creating topics
This commit is contained in:
Cameron
2022-03-27 14:01:45 -07:00
committed by GitHub

View File

@@ -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);
require_once(FOOTERF);