Permalink
Browse files

MDL-41929 quiz statistics, overall stats not displayed.

  • Loading branch information...
1 parent ca1c4ba commit 4c619d6788e305aee7c2dfa78c3b8572a977ad99 @timhunt timhunt committed Sep 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/statistics/report.php
@@ -478,7 +478,7 @@ protected function get_formatted_quiz_info_data($course, $cm, $quiz, $quizstats)
// The statistics.
foreach ($todisplay as $property => $format) {
- if (!isset($quizstats->$property) || empty($format[$property])) {
+ if (!isset($quizstats->$property) || !$format) {
continue;
}
$value = $quizstats->$property;

0 comments on commit 4c619d6

Please sign in to comment.