Fixing warning in course import (part of bug 4199)

This commit is contained in:
mjollnir_
2005-11-02 02:25:45 +00:00
parent 71deda82fe
commit f253e2575f
+2
View File
@@ -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"));