mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-35437: mod_assign: Stop Moodle from giving out a notice when grading worksheets with missing columns are uploaded via 'Upload grading worksheet' option in the drop-down menu
This commit is contained in:
parent
412d7c7b65
commit
49b6109666
@ -160,8 +160,10 @@ class assignfeedback_offline_grade_importer {
|
||||
$result->user = $this->validusers[$userid];
|
||||
$result->feedback = array();
|
||||
foreach ($this->feedbackcolumnindexes as $description => $details) {
|
||||
$details['value'] = $record[$details['index']];
|
||||
$result->feedback[] = $details;
|
||||
if (!empty($details['index'])) {
|
||||
$details['value'] = $record[$details['index']];
|
||||
$result->feedback[] = $details;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user