MDL-37533 Assign: assign_print_overview does not correctly display assignments that need grading

This commit is contained in:
Stephen Bourget 2013-01-21 11:32:04 -05:00 committed by Damyon Wiese
parent a42a78754f
commit b7f461419b

View File

@ -347,8 +347,10 @@ function assign_print_overview($courses, &$htmlarray) {
s.userid = g.userid AND
s.assignment = g.assignment
WHERE
g.timemodified = 0 OR
s.timemodified > g.timemodified AND
( g.timemodified is NULL OR
s.timemodified > g.timemodified ) AND
s.timemodified IS NOT NULL AND
s.status = "submitted" AND
s.assignment ' . $sqlassignmentids, $assignmentidparams);
$unmarkedsubmissions = array();