Merge branch 'MDL-57592-master' of https://github.com/mwehr/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2017-02-01 13:01:27 +08:00
committed by Andrew Nicols
+1 -1
View File
@@ -88,7 +88,7 @@ class grading_app implements templatable, renderable {
$export->cmid = $this->assignment->get_course_module()->id;
$export->contextid = $this->assignment->get_context()->id;
$export->groupid = $this->groupid;
$export->name = $this->assignment->get_instance()->name;
$export->name = $this->assignment->get_context()->get_context_name();
$export->courseid = $this->assignment->get_course()->id;
$export->participants = array();
$num = 1;