added a view privileges setting to each forum

This commit is contained in:
JT Smith 2004-03-04 00:25:02 +00:00
parent a6c5e1afc7
commit 3a845e9027
5 changed files with 36 additions and 2 deletions

View file

@ -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,