Merge branch 'MDL-27030_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2011-08-16 02:08:04 +02:00
+2 -5
View File
@@ -143,12 +143,9 @@ class quiz_overview_report extends quiz_default_report {
}
}
$questions = quiz_report_load_questions($quiz);
//work out the sql for this table.
if ($detailedmarks) {
$questions = quiz_report_load_questions($quiz);
} else {
$questions = array();
}
$table = new quiz_report_overview_table($quiz , $qmsubselect, $groupstudents,
$students, $detailedmarks, $questions, $candelete, $reporturl,
$displayoptions, $this->context);