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 1b5afe6 commit 0f97c8afdb10351cfecfb33d7e99025c236de964 @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
View
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 0f97c8a

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