diff --git a/mod/quiz/report/statistics/report.php b/mod/quiz/report/statistics/report.php index b7bea7223cf..790be61d708 100644 --- a/mod/quiz/report/statistics/report.php +++ b/mod/quiz/report/statistics/report.php @@ -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.