[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user