Permalink
Browse files

Added default argument value for grade_category_select() to prevent e…

…rror when calling without arguments (Merged From MOODLE_15_STABLE)
  • Loading branch information...
1 parent 3c34ce6 commit c74ae30cc81da0bfeb8de317c1994a41e8ceb3de patrickslee committed Oct 26, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/lib.php
View
2 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;

0 comments on commit c74ae30

Please sign in to comment.