diff --git a/grade/lib.php b/grade/lib.php index 6edbf3894e6..f769b641adb 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -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;