Merge branch 'wip-MDL-27958-master' of git://github.com/samhemelryk/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2011-06-23 23:57:55 +02:00
commit fcb36b65ec

View File

@ -34,6 +34,7 @@ list($context, $course, $cm) = get_context_info_array($contextid);
/// 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);