MDL-21811 also need to fix the rounding on the review page.

This commit is contained in:
Tim Hunt
2011-02-18 18:25:28 +00:00
parent db99a96d1e
commit 12e4ff0d19
+2 -1
View File
@@ -255,7 +255,8 @@
}
/// Feedback if there is any, and the user is allowed to see it now.
$feedback = quiz_feedback_for_grade($grade, $attempt->quiz);
$feedback = quiz_feedback_for_grade(quiz_rescale_grade(
$attempt->sumgrades, $quiz, false), $attempt->quiz);
if ($options->overallfeedback && $feedback) {
$rows[] = '<tr><th scope="row" class="cell">' . get_string('feedback', 'quiz') .
'</th><td class="cell">' . $feedback . '</td></tr>';