Skip to content
Browse files

Merged from MOODLE_16_STABLE:

Fix for MDL-4940: Social Activities block disappears when editing course settings.
  • Loading branch information...
1 parent 8e0b21b commit 0e2b6268f003080d77b8dc3d645b46b365c61e7f defacer committed Feb 24, 2007
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.

0 comments on commit 0e2b626

Please sign in to comment.
Something went wrong with that request. Please try again.