fixed annoying notices

This commit is contained in:
Petr Skoda 2010-05-30 22:48:47 +00:00
parent dd7aec5dac
commit 7a6f3c336d

View File

@ -144,6 +144,7 @@
$thissection->course = $course->id; // Create a new week structure
$thissection->section = $section;
$thissection->summary = '';
$thissection->summaryformat = FORMAT_HTML;
$thissection->visible = 1;
$thissection->id = $DB->insert_record('course_sections', $thissection);
}