diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 0c44fa2b385..005ed086819 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -613,7 +613,7 @@ function forum_cron() { if ($post->parent) { // This post is a reply, so add headers for threading (see MDL-22551) $userfrom->customheaders[] = 'In-Reply-To: parent.'@'.$hostname.'>'; - $userfrom->customheaders[] = 'References: parent.'@'.$hostname.'>', + $userfrom->customheaders[] = 'References: parent.'@'.$hostname.'>'; } $postsubject = "$course->shortname: ".format_string($post->subject,true);