MDL-74630 core_contenbank: Add contextid to URL parameters
This commit is contained in:
@@ -45,7 +45,7 @@ $title = get_string('contentbank');
|
||||
if ($PAGE->course) {
|
||||
require_login($PAGE->course->id);
|
||||
}
|
||||
$PAGE->set_url('/contentbank/index.php');
|
||||
$PAGE->set_url('/contentbank/index.php', ['contextid' => $contextid]);
|
||||
if ($contextid == \context_system::instance()->id) {
|
||||
$PAGE->set_context(context_course::instance($contextid));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user