MDL-55950 mod_feedback: correct link to response in the email

This commit is contained in:
Marina Glancy
2017-04-06 15:44:02 +08:00
parent 3f48012eb5
commit 2321c81d52
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ class mod_feedback_completion extends mod_feedback_structure {
// Send email.
if ($this->feedback->anonymous == FEEDBACK_ANONYMOUS_NO) {
feedback_send_email($this->cm, $this->feedback, $this->cm->get_course(), $USER);
feedback_send_email($this->cm, $this->feedback, $this->cm->get_course(), $USER, $this->completed);
} else {
feedback_send_email_anonym($this->cm, $this->feedback, $this->cm->get_course());
}