MDL-56046 mod_quiz: do not close the sheet twice

This commit is contained in:
Mark Nelson
2017-06-28 14:15:36 +08:00
committed by Jake Dallimore
parent 74accbdd85
commit dbbbf02dc0
+1 -1
View File
@@ -256,7 +256,7 @@ class quiz_statistics_report extends quiz_default_report {
if ($quizstats->s()) {
$this->output_quiz_structure_analysis_table($questionstats);
}
$this->table->finish_output();
$this->table->export_class_instance()->finish_document();
} else {
// On-screen display of overview report.