Permalink
Browse files

Fixed display of "done" assignments

  • Loading branch information...
1 parent 8db3ead commit 4b9b2f0fe45ac5e4683de17ab496623ab1d8eb13 moodler committed Oct 20, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/index.php
@@ -46,7 +46,7 @@
}
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) {
$submitted = userdate($submission->timemodified);
} else {

0 comments on commit 4b9b2f0

Please sign in to comment.