Merge branch 'MDL-31458-21' of git://github.com/danpoltawski/moodle into MOODLE_21_STABLE
This commit is contained in:
+1
-1
@@ -613,7 +613,7 @@ function forum_cron() {
|
||||
|
||||
$shortname = format_string($course->shortname, true, array('context' => get_context_instance(CONTEXT_COURSE, $course->id)));
|
||||
|
||||
$postsubject = "$shortname: ".format_string($post->subject,true);
|
||||
$postsubject = html_to_text("$shortname: ".format_string($post->subject, true));
|
||||
$posttext = forum_make_mail_text($course, $cm, $forum, $discussion, $post, $userfrom, $userto);
|
||||
$posthtml = forum_make_mail_html($course, $cm, $forum, $discussion, $post, $userfrom, $userto);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user