MDL-30758 quiz_statistics report fails if all 1st attempts require grading
This commit is contained in:
@@ -667,7 +667,7 @@ class quiz_statistics_report extends quiz_default_report {
|
||||
$firstattempts = new stdClass();
|
||||
$firstattempts->countrecs = 0;
|
||||
$firstattempts->total = 0;
|
||||
$firstattempts->average = '-';
|
||||
$firstattempts->average = null;
|
||||
}
|
||||
|
||||
$allattempts = new stdClass();
|
||||
|
||||
Reference in New Issue
Block a user