Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merged from MOODLE_16_STABLE:

Fix for MDL-4940: Social Activities block disappears when editing course settings.
  • Loading branch information...
commit 0e2b6268f003080d77b8dc3d645b46b365c61e7f 1 parent 8e0b21b
defacer authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/pagelib.php
View
3  lib/pagelib.php
@@ -430,7 +430,8 @@ function get_format_name() {
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.
Please sign in to comment.
Something went wrong with that request. Please try again.