Skip to content

Commit

Permalink
MDL-41929 quiz statistics, overall stats not displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Sep 23, 2013
1 parent ca1c4ba commit 4c619d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/report.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ protected function get_formatted_quiz_info_data($course, $cm, $quiz, $quizstats)


// The statistics. // The statistics.
foreach ($todisplay as $property => $format) { foreach ($todisplay as $property => $format) {
if (!isset($quizstats->$property) || empty($format[$property])) { if (!isset($quizstats->$property) || !$format) {
continue; continue;
} }
$value = $quizstats->$property; $value = $quizstats->$property;
Expand Down

0 comments on commit 4c619d6

Please sign in to comment.