mirror of
https://github.com/moodle/moodle.git
synced 2025-02-20 08:05:49 +01:00
MDL-33577 qtype_multianswer: Fix strict syntax warning.
This commit is contained in:
parent
4db061680e
commit
b84477000a
@ -279,7 +279,8 @@ class qtype_multianswer_multichoice_inline_renderer
|
||||
$response, array('' => ''), $inputattributes);
|
||||
|
||||
$order = $subq->get_order($qa);
|
||||
$rightanswer = $subq->answers[$order[reset($subq->get_correct_response())]];
|
||||
$correctresponses = $subq->get_correct_response();
|
||||
$rightanswer = $subq->answers[$order[reset($correctresponses)]];
|
||||
$feedbackpopup = $this->feedback_popup($subq, $matchinganswer->fraction,
|
||||
$subq->format_text($matchinganswer->feedback, $matchinganswer->feedbackformat,
|
||||
$qa, 'question', 'answerfeedback', $matchinganswer->id),
|
||||
|
Loading…
x
Reference in New Issue
Block a user