Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-27958 Added missing set_context call which would cause errors for…

… all contexts below course
  • Loading branch information...
commit 7313ac6c7af62bf86ca8c101e96aedc72873312e 1 parent 3552484
@samhemelryk samhemelryk authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  filter/manage.php
View
1  filter/manage.php
@@ -34,6 +34,7 @@
/// Check login and permissions.
require_login($course, false, $cm);
require_capability('moodle/filter:manage', $context);
+$PAGE->set_context($context);
$args = array('contextid'=>$contextid);
$baseurl = new moodle_url('/filter/manage.php', $args);
Please sign in to comment.
Something went wrong with that request. Please try again.