diff --git a/system/pages/forum/show_board.php b/system/pages/forum/show_board.php index f7d79c9e..e0e06583 100644 --- a/system/pages/forum/show_board.php +++ b/system/pages/forum/show_board.php @@ -35,7 +35,7 @@ for($i = 0; $i < $threads_count['threads_count'] / $config['forum_threads_per_pa $links_to_pages .= ''.($i + 1).' '; } echo 'Boards >> '.$sections[$section_id]['name'].''; -if(!$sections[$section_id]['closed'] || Forum::isModerator()) +if($logged && (!$sections[$section_id]['closed'] || Forum::isModerator())) { echo '

'; @@ -87,7 +87,7 @@ if(isset($last_threads[0])) echo ''; } echo ''; - if(!$sections[$section_id]['closed'] || Forum::isModerator()) + if($logged && (!$sections[$section_id]['closed'] || Forum::isModerator())) echo '
'; } else