Vergleich archive/index.php - 1.6.9 - 1.6.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 253Zeile 253
		build_forum_breadcrumb($forum['fid'], 1);

// No threads and not a category? Error!

		build_forum_breadcrumb($forum['fid'], 1);

// No threads and not a category? Error!

		if($threadcount < 1 && $forum['type'] != 'c')

		if(($threadcount < 1 || $forumpermissions['canviewthreads'] != 1) && $forum['type'] != 'c')

		{
archive_header(strip_tags($forum['name']), $forum['name'], $mybb->settings['bburl']."/".get_forum_link($id, $page)."");
archive_error($lang->error_nothreads);

		{
archive_header(strip_tags($forum['name']), $forum['name'], $mybb->settings['bburl']."/".get_forum_link($id, $page)."");
archive_error($lang->error_nothreads);