Browse files

MDL-36927 Reports: Page layout is not defined in course/recent.php

  • Loading branch information...
1 parent 29f8c09 commit 9df92fcacbfeb7b27007f2cd1caf439a44d89486 @ankitagarwal ankitagarwal committed Mar 20, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 course/recent.php
View
1 course/recent.php
@@ -30,6 +30,7 @@
$id = required_param('id', PARAM_INT);
$PAGE->set_url('/course/recent.php', array('id'=>$id));
+$PAGE->set_pagelayout('report');
if (!$course = $DB->get_record('course', array('id'=>$id))) {
print_error("That's an invalid course id");

0 comments on commit 9df92fc

Please sign in to comment.