MDL-13872:
Display a dash when no grade info, suppresses notice. Merged from STABLE_19
This commit is contained in:
@@ -90,6 +90,9 @@
|
||||
if (isset($grading_info->items[0])) {
|
||||
$grade = $grading_info->items[0]->grades[$USER->id]->str_grade;
|
||||
}
|
||||
else {
|
||||
$grade = '-';
|
||||
}
|
||||
|
||||
$type = $types[$cm->assignmenttype];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user