MDL-41929 quiz statistics, overall stats not displayed.
This commit is contained in:
@@ -492,7 +492,7 @@ class quiz_statistics_report extends quiz_default_report {
|
||||
|
||||
// The statistics.
|
||||
foreach ($todisplay as $property => $format) {
|
||||
if (!isset($quizstats->$property) || empty($format[$property])) {
|
||||
if (!isset($quizstats->$property) || !$format) {
|
||||
continue;
|
||||
}
|
||||
$value = $quizstats->$property;
|
||||
|
||||
Reference in New Issue
Block a user