MDL-38593 Merge code from /course/category.php into /course/index.php
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ $editform = new course_edit_form(NULL, array('course'=>$course, 'category'=>$cat
|
||||
if ($editform->is_cancelled()) {
|
||||
switch ($returnto) {
|
||||
case 'category':
|
||||
$url = new moodle_url($CFG->wwwroot.'/course/category.php', array('id'=>$categoryid));
|
||||
$url = new moodle_url($CFG->wwwroot.'/course/index.php', array('categoryid' => $categoryid));
|
||||
break;
|
||||
case 'catmanage':
|
||||
$url = new moodle_url($CFG->wwwroot.'/course/manage.php', array('id'=>$categoryid));
|
||||
|
||||
Reference in New Issue
Block a user