Skip to content

Commit

Permalink
MDL-9204 New submission wasn't given a timemodified upon creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Apr 5, 2007
1 parent 79c8c1d commit b41ee5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/assignment/type/uploadsingle/assignment.class.php
Expand Up @@ -138,6 +138,7 @@ function upload() {
}
} else {
$newsubmission = $this->prepare_new_submission($USER->id);
$newsubmission->timemodified = time();
$newsubmission->numfiles = 1;
if (insert_record('assignment_submissions', $newsubmission)) {
add_to_log($this->course->id, 'assignment', 'upload',
Expand Down

0 comments on commit b41ee5a

Please sign in to comment.