Merge branch 'MDL-56046_master-fix2' of git://github.com/markn86/moodle

This commit is contained in:
Jake Dallimore 2017-06-28 14:13:43 +08:00 committed by David Monllao
commit 1bff0a1d97

View File

@ -256,7 +256,7 @@ class quiz_statistics_report extends quiz_default_report {
if ($quizstats->s()) { if ($quizstats->s()) {
$this->output_quiz_structure_analysis_table($questionstats); $this->output_quiz_structure_analysis_table($questionstats);
} }
$this->table->finish_output(); $this->table->export_class_instance()->finish_document();
} else { } else {
// On-screen display of overview report. // On-screen display of overview report.