Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-13872:

Display a dash when no grade info, suppresses notice.
  • Loading branch information...
commit 673e73d7992c9638c1d565d79e2651c81ce7fbba 1 parent fd74d39
authored March 11, 2008

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  mod/assignment/index.php
3  mod/assignment/index.php
@@ -90,6 +90,9 @@
90 90
         if (isset($grading_info->items[0])) {
91 91
             $grade = $grading_info->items[0]->grades[$USER->id]->str_grade;
92 92
         }
  93
+        else {
  94
+            $grade = '-';
  95
+        }
93 96
 
94 97
         $type = $types[$cm->assignmenttype];
95 98
 

0 notes on commit 673e73d

Please sign in to comment.
Something went wrong with that request. Please try again.