Permalink
Browse files

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

…nto MOODLE_21_STABLE
  • Loading branch information...
2 parents 6030656 + f8bed0f commit 25f8be6e70b4f35a7d1c69afd3ddce2ee0ea547a Sam Hemelryk committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
@@ -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);

0 comments on commit 25f8be6

Please sign in to comment.