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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user