diff --git a/course/format/topics/format.php b/course/format/topics/format.php index c568fb176dd..4debd50dc63 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -143,6 +143,7 @@ while ($section <= $course->numsections) { $thissection->course = $course->id; // Create a new section structure $thissection->section = $section; $thissection->summary = ''; + $thissection->summaryformat = FORMAT_HTML; $thissection->visible = 1; $thissection->id = $DB->insert_record('course_sections', $thissection); }