mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch '37680-29' of git://github.com/samhemelryk/moodle
This commit is contained in:
commit
6775497181
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ $context = context::instance_by_id($contextid);
|
||||||
|
|
||||||
$PAGE->set_url($url);
|
$PAGE->set_url($url);
|
||||||
$PAGE->set_context($context);
|
$PAGE->set_context($context);
|
||||||
|
$PAGE->set_pagelayout('standard');
|
||||||
|
|
||||||
/// Security: make sure we're allowed to do this operation
|
/// Security: make sure we're allowed to do this operation
|
||||||
if ($context->contextlevel == CONTEXT_COURSE) {
|
if ($context->contextlevel == CONTEXT_COURSE) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue