Skip to content
Browse files

MDL-30704 quiz_overview: fixup, add missing rescaling.

Thanks Micheal de Raadt for catching this in testing.
  • Loading branch information...
1 parent 23fe947 commit 1f8a3306621d918e8c0f3b5d7038fc4aa15d013a @timhunt timhunt committed with stronk7 Dec 21, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/quiz/report/overview/overview_table.php
1 mod/quiz/report/overview/overview_table.php
@@ -81,6 +81,7 @@ protected function add_average_row($label, $users) {
SELECT AVG(quiza.sumgrades) AS grade, COUNT(quiza.sumgrades) AS numaveraged
FROM $from
WHERE $where", $params);
+ $record->grade = quiz_rescale_grade($record->grade, $this->quiz);
if ($this->is_downloading()) {
$namekey = 'lastname';

0 comments on commit 1f8a330

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