diff --git a/main/exercise/answer.class.php b/main/exercise/answer.class.php index 7133fcc3544..7f0af69233b 100755 --- a/main/exercise/answer.class.php +++ b/main/exercise/answer.class.php @@ -1050,7 +1050,7 @@ public function duplicate($newQuestion, $course_info = null) } // Fix correct answers - if (in_array($newQuestion->type, [DRAGGABLE, MATCHING, MATCHING_DRAGGABLE])) { + if (in_array($newQuestion->type, [DRAGGABLE, MATCHING, MATCHING_DRAGGABLE, MATCHING_COMBINATION, MATCHING_DRAGGABLE_COMBINATION])) { $onlyAnswersFlip = array_flip($onlyAnswers); foreach ($correctAnswers as $answer_id => $correct_answer) { $params = [];