MDL-13872:

Display a dash when no grade info, suppresses notice.

Merged from STABLE_19
This commit is contained in:
thepurpleblob
2008-03-11 14:26:38 +00:00
parent 05d820ea4c
commit 7f91ea90de
+3
View File
@@ -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];