Fixing warning in course import (part of bug 4199)
This commit is contained in:
@@ -54,6 +54,8 @@ optional_variable($filename,0);
|
||||
$taught_courses = get_my_courses($USER->id,"visible DESC,sortorder ASC",0,1);
|
||||
if (!empty($creator)) {
|
||||
$cat_courses = get_courses($course->category);
|
||||
} else {
|
||||
$cat_courses = array();
|
||||
}
|
||||
print_heading(get_string("importdatafrom"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user