MDL-56046 mod_quiz: do not close the sheet twice

This commit is contained in:
Mark Nelson
2017-06-28 14:14:28 +08:00
committed by Jake Dallimore
parent 65e5e9f454
commit 6b661ab0a2
+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.