Browse Source

Merge pull request #362 from illori/release-2.1

Fix MARK ALL MESSAGES AS READ seen by guest
Oldiesmann 11 years ago
parent
commit
51f8086c8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Themes/default/BoardIndex.template.php

+ 1 - 1
Themes/default/BoardIndex.template.php

@@ -248,7 +248,7 @@ function template_main()
 		</ul>';
 
 	// Show the mark all as read button?
-	if ($settings['show_mark_read'] && !empty($context['categories']))
+	if ($context['user']['is_logged'] && $settings['show_mark_read'] && !empty($context['categories']))
 	echo '
 		<div class="mark_read">', template_button_strip($context['mark_read_button'], 'right'), '</div>';
 }