MDL-56046 mod_quiz: do not close the sheet twice

This commit is contained in:
Mark Nelson 2017-06-28 13:07:11 +08:00 committed by David Monllao
parent 1555f25b24
commit 1370d793fc

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.