fwrite ($bf,full_tag("LANG",3,false,$course->lang));
fwrite ($bf,full_tag("MARKER",3,false,$course->marker));
fwrite ($bf,full_tag("VISIBLE",3,false,$course->visible));
- fwrite ($bf,full_tag("HIDDENTOPICS",3,false,$course->hiddentopics));
+ fwrite ($bf,full_tag("HIDDENSECTIONS",3,false,$course->hiddensections));
fwrite ($bf,full_tag("TIMECREATED",3,false,$course->timecreated));
$status = fwrite ($bf,full_tag("TIMEMODIFIED",3,false,$course->timemodified));
//Print header end
$course->lang = addslashes($course_header->course_lang);
$course->marker = addslashes($course_header->course_marker);
$course->visible = addslashes($course_header->course_visible);
- $course->hiddentopics = addslashes($course_header->course_hiddentopics);
+ $course->hiddensections = addslashes($course_header->course_hiddensections);
$course->timecreated = addslashes($course_header->course_timecreated);
$course->timemodified = addslashes($course_header->course_timemodified);
//Adjust blockinfo field.
case "VISIBLE":
$this->info->course_visible = $this->getContents();
break;
- case "HIDDENTOPICS":
- $this->info->course_hiddentopics = $this->getContents();
+ case "HIDDENSECTIONS":
+ $this->info->course_hiddensections = $this->getContents();
break;
case "TIMECREATED":
$this->info->course_timecreated = $this->getContents();