mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
questions MDL-19820 Added set_url calls
This commit is contained in:
parent
af333695f4
commit
fa040aacc6
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user