MDL-14446 fixed inverted read flag in threaded view; merged from MOODLE_19_STABLE
This commit is contained in:
+1
-1
@@ -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">';
|
||||
|
||||
Reference in New Issue
Block a user