diff --git a/mod/forum/lib.php b/mod/forum/lib.php index dc97698545e..852a7aa255b 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -461,7 +461,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);