1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 08:51:50 +02:00

Fix for Forum permissions for creating topics

FIX #3974
This commit is contained in:
Jimako
2022-03-27 20:44:19 +02:00
committed by GitHub
parent 1ef4124d6c
commit e514a43e54

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);