Merged from MOODLE_16_STABLE:

Fix for MDL-4940: Social Activities block disappears when editing course settings.
This commit is contained in:
defacer
2007-02-24 23:24:43 +00:00
parent 9a8d870765
commit e56a129d56
+2 -1
View File
@@ -428,7 +428,8 @@ class page_course extends page_base {
if($this->id == SITEID) {
return parent::get_format_name();
}
return $this->body_id.'-'.$this->courserecord->format;
// This needs to reflect the path hierarchy under Moodle root.
return 'course-view-'.$this->courserecord->format;
}
// This should return a fully qualified path to the URL which is responsible for displaying us.