- web: make "jump to first unread" work for threads that

haven't been viewed before


svn path=/trunk/boinc/; revision=25875
This commit is contained in:
David Anderson 2012-07-17 04:06:48 +00:00
parent 9a84980792
commit 98f6763c48
2 changed files with 8 additions and 1 deletions

View File

@ -4957,3 +4957,10 @@ David 16 July 2012
manage_apps.php
vda/
sched_vda.cpp
David 16 July 2012
- web: make "jump to first unread" work for threads that
haven't been viewed before
html/inc/
forum.inc

View File

@ -363,7 +363,7 @@ function show_posts(
echo "Post $postid not found.";
return;
}
} else if ($latest_viewed && $logged_in_user->prefs->jump_to_unread) {
} else if ($logged_in_user && $logged_in_user->prefs->jump_to_unread) {
// jump to the first unread post
//
$i = 0;