Permalink
Browse files

Merge branch 'MDL-21811' of git://github.com/timhunt/moodle into MOOD…

…LE_19_STABLE
  • Loading branch information...
2 parents 0c9bd49 + 12e4ff0 commit b408c5f48505f0bb1df9a326493ac8752492ef4e @skodak skodak committed Feb 18, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/quiz/review.php
View
@@ -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>';

0 comments on commit b408c5f

Please sign in to comment.