quiz MDL-24499 simple typo when putting values into a string.

Thanks to Manish Verma for noticing this.
This commit is contained in:
Tim Hunt
2010-11-01 14:40:25 +00:00
parent e09ca95eba
commit 6382910a87
+1 -1
View File
@@ -184,7 +184,7 @@
if ($quiz->grade != $quiz->sumgrades) {
$a = new stdClass;
$a->grade = quiz_format_grade($quiz, $attempt->sumgrades);
$a->maxgrade = quiz_format_grade($quiz, $attempt->sumgrades);
$a->maxgrade = quiz_format_grade($quiz, $quiz->sumgrades);
$rows[] = '<tr><th scope="row" class="cell">' . get_string('marks', 'quiz') . '</th><td class="cell">' .
get_string('outofshort', 'quiz', $a) . '</td></tr>';
}