Skip to content

Commit

Permalink
Fixed display of "done" assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Oct 20, 2002
1 parent 8db3ead commit 4b9b2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assignment/index.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
} }


foreach ($assignments as $assignment) { foreach ($assignments as $assignment) {
if ($submission = assignment_get_submission($assignment->id, $USER->id)) { if ($submission = assignment_get_submission($assignment, $USER)) {
if ($submission->timemodified <= $assignment->timedue) { if ($submission->timemodified <= $assignment->timedue) {
$submitted = userdate($submission->timemodified); $submitted = userdate($submission->timemodified);
} else { } else {
Expand Down

0 comments on commit 4b9b2f0

Please sign in to comment.