Merge branch 'MDL-63422' of git://github.com/stronk7/moodle

This commit is contained in:
Andrew Nicols 2018-11-02 08:22:33 +08:00
commit f8e364e31a
27 changed files with 79 additions and 89 deletions

View file

@ -51,7 +51,7 @@ function grade_get_course_grades($courseid, $userid_or_ids=null) {
switch ($grade_item->gradetype) {
case GRADE_TYPE_NONE:
continue;
break;
case GRADE_TYPE_VALUE:
$item->scaleid = 0;
@ -178,7 +178,7 @@ function grade_get_course_grade($userid, $courseid_or_ids=null) {
switch ($grade_item->gradetype) {
case GRADE_TYPE_NONE:
continue;
break;
case GRADE_TYPE_VALUE:
$item->scaleid = 0;