Skip to content

Commit

Permalink
Merge pull request #4718 from Jimmi08/patch-17
Browse files Browse the repository at this point in the history
Fixes #3974 Forum permissions for creating topics
  • Loading branch information
CaMer0n authored Mar 27, 2022
2 parents fa187da + e514a43 commit 37aa4dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e107_plugins/forum/forum_viewforum.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -565,4 +564,4 @@ function newthreadjump($url)

new forum_viewforum_front();

require_once(FOOTERF);
require_once(FOOTERF);

0 comments on commit 37aa4dc

Please sign in to comment.