Skip to content

Commit

Permalink
Merge branch 'MDL-53985-master' of git://github.com/damyon/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jan 8, 2018
2 parents 013f0b2 + 3c01611 commit 0b4304b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assign/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -7632,7 +7632,7 @@ public function revert_to_draft($userid) {
return false;
}
$submission->status = ASSIGN_SUBMISSION_STATUS_DRAFT;
$this->update_submission($submission, $userid, true, $this->get_instance()->teamsubmission);
$this->update_submission($submission, $userid, false, $this->get_instance()->teamsubmission);

// Give each submission plugin a chance to process the reverting to draft.
$plugins = $this->get_submission_plugins();
Expand Down

0 comments on commit 0b4304b

Please sign in to comment.