From f9f952e89afea287bcee11d9d3857d3e53b68989 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 30 May 2010 22:49:18 +0000 Subject: [PATCH] fixed more annoying notices --- course/format/topics/format.php | 1 + 1 file changed, 1 insertion(+) 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); }