Merge branch 'MDL-35435' of https://github.com/raymondAntonio/moodle
This commit is contained in:
@@ -308,6 +308,10 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
}
|
||||
}
|
||||
|
||||
// When there is no data we still want the column headers printed in the csv file.
|
||||
if ($this->is_downloading()) {
|
||||
$this->start_output();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user