Skip to content

Commit

Permalink
Merge branch 'MDL-74630-master' of https://github.com/aanabit/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Jun 21, 2022
2 parents 09410d2 + fc4e3ee commit 0999f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contentbank/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
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 {
Expand Down

0 comments on commit 0999f65

Please sign in to comment.