Skip to content

Commit 816f9a5

Browse files
author
David Monllao
committed
Merge branch 'MDL-62717-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2 parents abb789b + 1157c4c commit 816f9a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mod/forum/lib.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3051,6 +3051,7 @@ function forum_get_course_forum($courseid, $type) {
30513051
case "news":
30523052
$forum->name = get_string("namenews", "forum");
30533053
$forum->intro = get_string("intronews", "forum");
3054+
$forum->introformat = FORMAT_HTML;
30543055
$forum->forcesubscribe = FORUM_FORCESUBSCRIBE;
30553056
$forum->assessed = 0;
30563057
if ($courseid == SITEID) {
@@ -3061,12 +3062,14 @@ function forum_get_course_forum($courseid, $type) {
30613062
case "social":
30623063
$forum->name = get_string("namesocial", "forum");
30633064
$forum->intro = get_string("introsocial", "forum");
3065+
$forum->introformat = FORMAT_HTML;
30643066
$forum->assessed = 0;
30653067
$forum->forcesubscribe = 0;
30663068
break;
30673069
case "blog":
30683070
$forum->name = get_string('blogforum', 'forum');
30693071
$forum->intro = get_string('introblog', 'forum');
3072+
$forum->introformat = FORMAT_HTML;
30703073
$forum->assessed = 0;
30713074
$forum->forcesubscribe = 0;
30723075
break;

0 commit comments

Comments
 (0)