Permalink
Browse files

Don't even show submitted dates on offline assignments

  • Loading branch information...
1 parent 6aa0291 commit c4df6e1799c4fa98b39d83a377961c7a04af3512 moodler committed Nov 2, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
@@ -403,7 +403,7 @@ function assignment_print_submission($assignment, $user, $submission, $teachers,
print_user_picture($user->id, $assignment->course, $user->picture);
echo "</TD>";
echo "<TD NOWRAP BGCOLOR=\"$THEME->cellheading\">$user->firstname $user->lastname";
- if ($submission->timemodified) {
+ if ($assignment->type != OFFLINE and $submission->timemodified) {
echo "&nbsp;&nbsp;<FONT SIZE=1>".get_string("lastmodified").": ";
echo userdate($submission->timemodified);
echo assignment_print_difference($assignment->timedue - $submission->timemodified);

0 comments on commit c4df6e1

Please sign in to comment.