]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14446 fixed inverted read flag in threaded view; merged from MOODLE_19_STABLE
authorskodak <skodak>
Sun, 20 Apr 2008 19:38:33 +0000 (19:38 +0000)
committerskodak <skodak>
Sun, 20 Apr 2008 19:38:33 +0000 (19:38 +0000)
mod/forum/lib.php

index 6c3036b31c452b01a611a21d8e62d161b62f099f..bf107fc2f735e73a6b13bb637e40e016d83d3b40 100644 (file)
@@ -4949,7 +4949,7 @@ function forum_print_posts_threaded($course, &$cm, $forum, $discussion, $parent,
                 $by->date = userdate($post->modified);
 
                 if ($forumtracked) {
-                    if (empty($post->postread)) {
+                    if (!empty($post->postread)) {
                         $style = '<span class="forumthread read">';
                     } else {
                         $style = '<span class="forumthread unread">';