Merge branch 'MDL-36927-master' of git://github.com/ankitagarwal/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2013-03-24 23:39:07 +01:00
commit 943e317cb4

View File

@ -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");