From f459f29b6f81a48538bf1db269a762818de8d205 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Thu, 7 May 2015 10:38:32 +0100 Subject: [PATCH] MDL-50152 forum: show if last post in a thread is unread. --- mod/forum/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 3add7827522..cf3383e5872 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -3388,7 +3388,7 @@ function forum_print_post($post, $discussion, $forum, &$cm, $course, $ownpost=fa } if (!empty($post->lastpost)) { - $forumpostclass = ' lastpost'; + $forumpostclass .= ' lastpost'; } $postbyuser = new stdClass;