mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
[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:
parent
5e33ce6da3
commit
de1547bf6c
@ -474,11 +474,11 @@
|
||||
if ($lesson->custom) {
|
||||
if ($answer->score > 0) {
|
||||
$correctanswer = true;
|
||||
$answerid = $answer->id;
|
||||
} else {
|
||||
$correctanswer = false;
|
||||
}
|
||||
}
|
||||
$answerid = $answer->id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user