mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Minor fixes
This commit is contained in:
parent
5e776a02ad
commit
0bf2925db8
@ -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>");
|
||||
|
@ -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!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user