mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-36927-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
943e317cb4
@ -30,6 +30,7 @@ require_once('recent_form.php');
|
||||
$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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user