Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-33691: The grading table is showing "graded" for assignments with…

… a NULL grade
  • Loading branch information...
commit 571cc0b7d2dcfc164249d8cb8c634ec5f460751a 1 parent 0961ca7
Damyon Wiese authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/assign/gradingtable.php
View
2  mod/assign/gradingtable.php
@@ -414,7 +414,7 @@ function col_status(stdClass $row) {
if ($row->locked) {
$o .= $this->output->container(get_string('submissionslockedshort', 'assign'), 'lockedsubmission');
}
- if ($row->grade >= 0) {
+ if ($row->grade !== NULL && $row->grade >= 0) {
$o .= $this->output->container(get_string('graded', 'assign'), 'submissiongraded');
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.