Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-29698 Assignment: Fix broken logentry

  • Loading branch information...
commit e4784b616a25649ee7e665f66d931bd9cbf1bae8 1 parent 39b3ee7
Stephen Bourget authored stronk7 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/assignment/type/upload/assignment.class.php
View
2  mod/assignment/type/upload/assignment.class.php
@@ -730,7 +730,7 @@ function unfinalize($forcemode=null) {
$updated->data2 = '';
$DB->update_record('assignment_submissions', $updated);
//TODO: add unfinalize action to log
- add_to_log($this->course->id, 'assignment', 'view submission', 'submissions.php?id='.$this->assignment->id, $this->assignment->id, $this->cm->id);
+ add_to_log($this->course->id, 'assignment', 'view submission', 'submissions.php?id='.$this->cm->id.'&userid='.$userid.'&mode='.$mode.'&offset='.$offset, $this->assignment->id, $this->cm->id);
$submission = $this->get_submission($userid);
$this->update_grade($submission);
}
Please sign in to comment.
Something went wrong with that request. Please try again.