Minor fixes

This commit is contained in:
moodler 2003-04-11 14:44:12 +00:00
parent 5e776a02ad
commit 0bf2925db8
2 changed files with 3 additions and 3 deletions

View File

@ -496,7 +496,7 @@ function quiz_print_question($number, $question, $grade, $courseid,
echo "<TD $truecorrect>";
echo "<INPUT $truechecked TYPE=RADIO NAME=\"q$realquestion->id\" VALUE=\"$true->id\">$true->answer";
echo "</TD><TD $falsecorrect>";
echo "<INPUT $falsechecked TYPE=RADIO NAME=\"q$realquestion->id\" VALUE=\"$false->id\">$false->answer</P>";
echo "<INPUT $falsechecked TYPE=RADIO NAME=\"q$realquestion->id\" VALUE=\"$false->id\">$false->answer";
echo "</TD></TR></TABLE><BR CLEAR=ALL>";
if ($feedback) {
quiz_print_comment("<P ALIGN=right>$feedback[$feedbackid]</P>");

View File

@ -99,7 +99,7 @@
error("Could not reconstruct quiz results for attempt $attempt->id!");
}
quiz_remove_unwanted_questions(&$questions, $quiz);
quiz_remove_unwanted_questions($questions, $quiz);
if (!$result = quiz_grade_attempt_results($quiz, $questions)) {
error("Could not re-grade this quiz attempt!");
@ -161,7 +161,7 @@
if (! $questions = quiz_get_attempt_responses($attempt, $quiz)) {
error("Could not reconstruct quiz results for attempt $attempt->id!");
}
quiz_remove_unwanted_questions(&$questions, $quiz);
quiz_remove_unwanted_questions($questions, $quiz);
if (!$result = quiz_grade_attempt_results($quiz, $questions)) {
error("Could not re-grade this quiz attempt!");