Merge branch 'wip-MDL-55950-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
David Monllao
2017-04-10 16:05:07 +02:00
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -554,7 +554,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());
}