mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-14446 fixed inverted read flag in threaded view; merged from MOODLE_19_STABLE
This commit is contained in:
parent
eaa3081807
commit
3b4756653a
@ -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">';
|
||||
|
Loading…
x
Reference in New Issue
Block a user