mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
fixed more annoying notices
This commit is contained in:
parent
7a6f3c336d
commit
f9f952e89a
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user