From: defacer Date: Sat, 24 Feb 2007 23:38:42 +0000 (+0000) Subject: Merged from MOODLE_16_STABLE: X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fed8017908f34f0f5fbb3ac695116abadf94d442;p=moodle.git Merged from MOODLE_16_STABLE: Fix for MDL-4940: Social Activities block disappears when editing course settings. --- diff --git a/lib/pagelib.php b/lib/pagelib.php index 671c7579ac..879f11b035 100644 --- a/lib/pagelib.php +++ b/lib/pagelib.php @@ -450,7 +450,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.