diff --git a/html/user/forum_thread.php b/html/user/forum_thread.php index 088ec9b615..da74f7f813 100644 --- a/html/user/forum_thread.php +++ b/html/user/forum_thread.php @@ -99,7 +99,7 @@ if ($temp_sort_style) { } } -if ($logged_in_user && $logged_in_user->prefs->jump_to_unread){ +if (!$logged_in_user || $logged_in_user->prefs->jump_to_unread){ page_head($title, 'jumpToUnread();'); } else { page_head($title);