Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-41929 quiz statistics, overall stats not displayed.

  • Loading branch information...
commit 768779972e27e9b3e5d86c65f4cd7dd7c7fb7e8b 1 parent 7bc37de
@timhunt timhunt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/report/statistics/report.php
View
2  mod/quiz/report/statistics/report.php
@@ -492,7 +492,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;
Please sign in to comment.
Something went wrong with that request. Please try again.