Merged from MOODLE_16_STABLE:
Fix for MDL-4940: Social Activities block disappears when editing course settings.
This commit is contained in:
+2
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user