fixed more annoying notices

This commit is contained in:
Petr Skoda 2010-05-30 22:49:18 +00:00
parent 7a6f3c336d
commit f9f952e89a

View File

@ -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);
}