Permalink
Browse files

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

…OODLE_20_STABLE
  • Loading branch information...
2 parents 52dd1d8 + 6ad6368 commit 46894c5058d45a925d5a8faeda302c7b86911f69 @stronk7 stronk7 committed Aug 16, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 mod/quiz/report/overview/report.php
@@ -143,12 +143,9 @@ function display($quiz, $cm, $course) {
}
}
+ $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);

0 comments on commit 46894c5

Please sign in to comment.