diff options
Diffstat (limited to 'questiontype.php')
-rw-r--r-- | questiontype.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/questiontype.php b/questiontype.php index a49698a..f49bd55 100644 --- a/questiontype.php +++ b/questiontype.php @@ -529,6 +529,8 @@ class qtype_algebra extends question_type { $responses[$aid] = new question_possible_response($answer->answer, $answer->fraction); } + $responses[0] = new question_possible_response( + get_string('didnotmatchanyanswer', 'question'), 0); $responses[null] = question_possible_response::no_response(); return array($questiondata->id => $responses); |