Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-31458-22' of git://github.com/danpoltawski/moodle i…

…nto MOODLE_22_STABLE
  • Loading branch information...
commit f97184b9c9ad1ced09047a8344c451b18753309c 2 parents 479f14a + a6f5a72
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/forum/lib.php
View
2  mod/forum/lib.php
@@ -616,7 +616,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);
Please sign in to comment.
Something went wrong with that request. Please try again.