mirror of
https://github.com/moodle/moodle.git
synced 2025-04-03 15:32:43 +02:00
Merge branch 'MDL-66200-master_gradebook_csv_import' of https://github.com/jwalits/moodle
This commit is contained in:
commit
9b77dc8db2
@ -112,7 +112,7 @@ function grade_import_commit($courseid, $importcode, $importfeedback=true, $verb
|
||||
|
||||
// make the grades array for update_grade
|
||||
foreach ($grades as $grade) {
|
||||
if (!$importfeedback) {
|
||||
if (!$importfeedback || $grade->feedback === null) {
|
||||
$grade->feedback = false; // ignore it
|
||||
}
|
||||
if ($grade->importonlyfeedback) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user