Skip to content

Commit

Permalink
Exercise: Fix pop-up result with shuffle answers
Browse files Browse the repository at this point in the history
Fix #4181
  • Loading branch information
AngelFQC committed Mar 23, 2022
1 parent 301c329 commit 73a7907
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions main/exercise/exercise.class.php
Expand Up @@ -3714,9 +3714,7 @@ function onExpiredTimeExercise() {
* @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,
Expand Down Expand Up @@ -3950,7 +3948,7 @@ public function manage_answer(
if ($studentChoice) {
$questionScore += $answerWeighting;
$answerDestination = $objAnswerTmp->selectDestination($answerId);
$correctAnswerId[] = $answerId;
$correctAnswerId[] = $answerAutoId;
}
}
break;
Expand Down

0 comments on commit 73a7907

Please sign in to comment.