web: forums: enable "jump to post" if not logged in

This commit is contained in:
David Anderson 2014-08-12 12:14:02 -07:00
parent 7ed32661cb
commit 55fcb7ddaf
1 changed files with 1 additions and 1 deletions

View File

@ -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);