Skip to content
Browse files

MDL-30758 quiz_statistics report fails if all 1st attempts require gr…

…ading
  • Loading branch information...
1 parent f2b2978 commit 83dd037f43e8bfee4f94f53e81eecd695322717a @timhunt timhunt committed Dec 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/statistics/report.php
View
2 mod/quiz/report/statistics/report.php
@@ -667,7 +667,7 @@ protected function compute_stats($quizid, $currentgroup, $nostudentsingroup,
$firstattempts = new stdClass();
$firstattempts->countrecs = 0;
$firstattempts->total = 0;
- $firstattempts->average = '-';
+ $firstattempts->average = null;
}
$allattempts = new stdClass();

0 comments on commit 83dd037

Please sign in to comment.
Something went wrong with that request. Please try again.