]> git.mjollnir.org Git - moodle.git/commitdiff
quiz: fix debugging notice ->classes = to set_classes.
authortjhunt <tjhunt>
Thu, 1 Oct 2009 10:07:09 +0000 (10:07 +0000)
committertjhunt <tjhunt>
Thu, 1 Oct 2009 10:07:09 +0000 (10:07 +0000)
mod/quiz/view.php

index 708eb15f231e1c825d433392b1a3e7e5aff3e088..909f8612c5d9d6f9de1170084fb9ecfa17cff19c 100644 (file)
 
         // 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();