Typo. Bug 3917. Credits for liling! B-)

(http://moodle.org/bugs/bug.php?op=show&bugid=3917)
This commit is contained in:
stronk7
2005-10-06 17:37:58 +00:00
parent 0715864e36
commit 70156ee3d4
+1 -1
View File
@@ -2480,7 +2480,7 @@ function grade_insert_category() {
}
// make sure the record isn't already there and insert if okay
if (record_exists('grade_category', 'name', $category->name, 'courseid', $category->course)) {
if (record_exists('grade_category', 'name', $category->name, 'courseid', $category->courseid)) {
// category already exists
}
elseif ($category->name != ''){