Skip to content

Commit

Permalink
MDL-36927 Reports: Page layout is not defined in course/recent.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitagarwal committed Mar 20, 2013
1 parent d43ba3c commit 6330866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions course/recent.php
Expand Up @@ -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");
Expand Down

0 comments on commit 6330866

Please sign in to comment.