Added default argument value for grade_category_select() to prevent error when calling without arguments (Merged From MOODLE_15_STABLE)

This commit is contained in:
patrickslee
2005-10-26 22:30:11 +00:00
parent 3c34ce6802
commit c74ae30cc8
+1 -1
View File
@@ -2489,7 +2489,7 @@ function grade_insert_category() {
}
}
function grade_category_select($id_selected) {
function grade_category_select($id_selected = 0) {
/// prints out a select box containing categories.
global $CFG;
global $course;