diff --git a/lib/editor/tinymce/subplugins.php b/lib/editor/tinymce/subplugins.php index 0c24080fd6e..beba8f432ef 100644 --- a/lib/editor/tinymce/subplugins.php +++ b/lib/editor/tinymce/subplugins.php @@ -29,7 +29,7 @@ $delete = optional_param('delete', '', PARAM_PLUGIN); $confirm = optional_param('confirm', '', PARAM_BOOL); $return = optional_param('return', 'overview', PARAM_ALPHA); -$PAGE->set_context(null); +$PAGE->set_context(context_system::instance()); $PAGE->set_url('/lib/editor/tinymce/subplugins.php', array('delete'=>$delete)); require_login();