MDL-72669 qtype_multianswer: Replace empty option with NBSP

This commit is contained in:
Shamim Rezaie 2021-10-22 14:33:50 +11:00
parent 8885e22a0b
commit 5c3cdd147d

View File

@ -299,7 +299,7 @@ class qtype_multianswer_multichoice_inline_renderer
$feedbackimg = $this->feedback_image($matchinganswer->fraction);
}
$select = html_writer::select($choices, $qa->get_qt_field_name($fieldname),
$response, array('' => ''), $inputattributes);
$response, array('' => ' '), $inputattributes);
$order = $subq->get_order($qa);
$correctresponses = $subq->get_correct_response();