questions MDL-19820 Added set_url calls

This commit is contained in:
samhemelryk 2009-09-16 08:19:22 +00:00
parent af333695f4
commit fa040aacc6

View File

@ -38,6 +38,13 @@
print_error('needcoursecategroyid');
}
$PAGE->set_url($CFG->wwwroot.'/course/edit.php');
if ($id !== 0) {
$PAGE->url->param('id',$id);
} else {
$PAGE->url->param('category',$categoryid);
}
/// prepare course
if (!empty($course)) {
$allowedmods = array();