Merge branch '37680-27' of git://github.com/samhemelryk/moodle into MOODLE_27_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2015-01-08 00:41:03 +01:00
+1
View File
@@ -69,6 +69,7 @@ $context = context::instance_by_id($contextid);
$PAGE->set_url($url);
$PAGE->set_context($context);
$PAGE->set_pagelayout('standard');
/// Security: make sure we're allowed to do this operation
if ($context->contextlevel == CONTEXT_COURSE) {