Exercise: Fix pop-up result with shuffle answers

Fix #4181
pull/4224/head
Angel Fernando Quiroz Campos 4 years ago
parent 301c32975c
commit 73a7907a8f
  1. 6
      main/exercise/exercise.class.php

@ -3714,9 +3714,7 @@ class Exercise
* @param bool $showHotSpotDelineationTable
* @param int $questionDuration seconds
*
* @todo reduce parameters of this function
*
* @return string html code
* @return array|false
*/
public function manage_answer(
$exeId,
@ -3950,7 +3948,7 @@ class Exercise
if ($studentChoice) {
$questionScore += $answerWeighting;
$answerDestination = $objAnswerTmp->selectDestination($answerId);
$correctAnswerId[] = $answerId;
$correctAnswerId[] = $answerAutoId;
}
}
break;

Loading…
Cancel
Save