Merge branch 'MDL-46080_27' of https://github.com/jonof/moodle into MOODLE_27_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2014-07-14 23:30:25 +02:00
+5 -1
View File
@@ -544,7 +544,11 @@ class assign_grading_table extends table_sql implements renderable {
return '';
}
if ($this->is_downloading()) {
return $markers[$row->allocatedmarker];
if (isset($markers[$row->allocatedmarker])) {
return fullname($markers[$row->allocatedmarker]);
} else {
return '';
}
}
if ($this->quickgrading && has_capability('mod/assign:manageallocations', $this->assignment->get_context()) &&