mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-48596' of git://github.com/jmvedrine/moodle
This commit is contained in:
commit
a8ed2e50ea
@ -43,6 +43,7 @@ $context = context_module::instance($cm->id);
|
||||
require_capability('mod/lesson:edit', $context);
|
||||
|
||||
$PAGE->set_url('/mod/lesson/editpage.php', array('pageid'=>$pageid, 'id'=>$id, 'qtype'=>$qtype));
|
||||
$PAGE->set_pagelayout('admin');
|
||||
|
||||
if ($edit) {
|
||||
$editpage = lesson_page::load($pageid, $lesson);
|
||||
|
Loading…
x
Reference in New Issue
Block a user