mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-46080 assign: fix offline grading worksheet marker column
This commit is contained in:
parent
7784c3ad18
commit
60a601dbe0
1 changed files with 5 additions and 1 deletions
|
@ -548,7 +548,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()) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue