[Fixed] A problem with storing the answerid for numerical questions. Discussion here: http://moodle.org/mod/forum/discuss.php?d=37537

This commit is contained in:
michaelpenne 2006-01-24 00:47:11 +00:00
parent 5e33ce6da3
commit de1547bf6c

View File

@ -474,11 +474,11 @@
if ($lesson->custom) {
if ($answer->score > 0) {
$correctanswer = true;
$answerid = $answer->id;
} else {
$correctanswer = false;
}
}
$answerid = $answer->id;
break;
}
}