block-community MDL-19309 Added call to set page context to fix notification
This commit is contained in:
@@ -32,6 +32,7 @@ require_once($CFG->dirroot.'/blocks/community/forms.php');
|
||||
|
||||
require_login();
|
||||
|
||||
$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
|
||||
$PAGE->set_url('/blocks/community/communitycourse.php');
|
||||
$PAGE->set_heading($SITE->fullname);
|
||||
$PAGE->set_pagelayout('course');
|
||||
|
||||
Reference in New Issue
Block a user