Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-30704 quiz_overview: fixup, add missing rescaling.

Thanks Micheal de Raadt for catching this in testing.
  • Loading branch information...
commit 0f97c8afdb10351cfecfb33d7e99025c236de964 1 parent 1b5afe6
Tim Hunt timhunt authored stronk7 committed

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  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) {
81 81 SELECT AVG(quiza.sumgrades) AS grade, COUNT(quiza.sumgrades) AS numaveraged
82 82 FROM $from
83 83 WHERE $where", $params);
  84 + $record->grade = quiz_rescale_grade($record->grade, $this->quiz);
84 85
85 86 if ($this->is_downloading()) {
86 87 $namekey = 'lastname';

0 comments on commit 0f97c8a

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