diff --git a/contentbank/index.php b/contentbank/index.php index 1f8cd766ff4..107cb4aa821 100644 --- a/contentbank/index.php +++ b/contentbank/index.php @@ -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 {