Backup the new course->visible field
This commit is contained in:
@@ -427,6 +427,7 @@
|
||||
fwrite ($bf,full_tag("NUMSECTIONS",3,false,$course->numsections));
|
||||
fwrite ($bf,full_tag("SHOWRECENT",3,false,$course->showrecent));
|
||||
fwrite ($bf,full_tag("MARKER",3,false,$course->marker));
|
||||
fwrite ($bf,full_tag("VISIBLE",3,false,$course->visible));
|
||||
fwrite ($bf,full_tag("TIMECREATED",3,false,$course->timecreated));
|
||||
$status = fwrite ($bf,full_tag("TIMEMODIFIED",3,false,$course->timemodified));
|
||||
//Print header end
|
||||
|
||||
@@ -290,6 +290,7 @@
|
||||
$course->numsections = addslashes($course_header->course_numsections);
|
||||
$course->showrecent = addslashes($course_header->course_showrecent);
|
||||
$course->marker = addslashes($course_header->course_marker);
|
||||
$course->visible = addslashes($course_header->course_visible);
|
||||
$course->timecreated = addslashes($course_header->course_timecreated);
|
||||
$course->timemodified = addslashes($course_header->course_timemodified);
|
||||
//Now insert the record
|
||||
@@ -1085,6 +1086,9 @@
|
||||
case "MARKER":
|
||||
$this->info->course_marker = $this->getContents();
|
||||
break;
|
||||
case "VISIBLE":
|
||||
$this->info->course_visible = $this->getContents();
|
||||
break;
|
||||
case "TIMECREATED":
|
||||
$this->info->course_timecreated = $this->getContents();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user