diff --git a/checkin_notes b/checkin_notes index a2ceba41fd..16a75b7494 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 02e906415f..986c9d9fbf 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -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;