Permalink
Browse files

MDL-13872:

Display a dash when no grade info, suppresses notice.
  • Loading branch information...
1 parent fd74d39 commit 673e73d7992c9638c1d565d79e2651c81ce7fbba thepurpleblob committed Mar 11, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/assignment/index.php
@@ -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];

0 comments on commit 673e73d

Please sign in to comment.