mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-30758 quiz_statistics report fails if all 1st attempts require grading
This commit is contained in:
parent
73c0d46416
commit
41d5cbc1cd
@ -668,7 +668,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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user