Skip to content

Commit

Permalink
Merge branch 'MDL-41929' of git://github.com/timhunt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Sep 24, 2013
2 parents ec7f3d4 + 9413953 commit 4fa30a8
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 Diff line number Diff line change
Expand Up @@ -468,7 +468,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;
Expand Down

0 comments on commit 4fa30a8

Please sign in to comment.