diff --git a/mod/quiz/view.php b/mod/quiz/view.php index 708eb15f231..909f8612c5d 100644 --- a/mod/quiz/view.php +++ b/mod/quiz/view.php @@ -181,7 +181,7 @@ // Prepare table header $table = new html_table(); - $table->class = 'generaltable quizattemptsummary'; + $table->set_classes('generaltable quizattemptsummary'); $table->head = array(); $table->align = array(); $table->size = array();