MDL-34050 Lesson Module: Fixed spacing and removed array_unique() for responses
[moodle.git] / mod / lesson / pagetypes / matching.php
index d27cecc..00b0dcb 100644 (file)
@@ -80,7 +80,6 @@ class lesson_page_type_matching extends lesson_page {
         if (!empty($responses)) {
             $shuffleresponses = $responses;
             shuffle($shuffleresponses);
-            $shuffleresponses = array_unique($shuffleresponses);
             foreach ($shuffleresponses as  $response) {
                 $key = array_search($response, $responses);
                 $responseoptions[$key] = $response;