From 3619147c76759d7f968299ec0053ceac2f55e0b0 Mon Sep 17 00:00:00 2001 From: Amaia Anabitarte Date: Tue, 3 May 2022 16:37:10 +0200 Subject: [PATCH] MDL-74630 core_contenbank: Add contextid to URL parameters --- contentbank/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contentbank/index.php b/contentbank/index.php index 7845f58ecd4..9e0003494f0 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]); $PAGE->set_context($context); $PAGE->set_title($title); $PAGE->set_heading($title);