[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:45:25 +00:00
parent 96c4004598
commit 7fe2010ceb
+1 -1
View File
@@ -478,11 +478,11 @@
if ($lesson->custom) {
if ($answer->score > 0) {
$correctanswer = true;
$answerid = $answer->id;
} else {
$correctanswer = false;
}
}
$answerid = $answer->id;
/// CDC-FLAG ///
break;
}