MDL-14446 fixed inverted read flag in threaded view; merged from MOODLE_19_STABLE

This commit is contained in:
skodak 2008-04-20 19:38:33 +00:00
parent eaa3081807
commit 3b4756653a

View 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">';