added a view privileges setting to each forum
This commit is contained in:
parent
a6c5e1afc7
commit
3a845e9027
5 changed files with 36 additions and 2 deletions
|
|
@ -248,6 +248,7 @@ sub www_view {
|
|||
}
|
||||
} else {
|
||||
my $forum = WebGUI::Forum->new($forumMeta->{forumId});
|
||||
next unless ($forum->canView);
|
||||
if ($count == 1) {
|
||||
$var{'default.listing'} = WebGUI::Forum::UI::www_viewForum({
|
||||
callback=>$callback,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue