Browse Source

Fix double column for matching draggable see BT#13954

Julio 6 years ago
parent
commit
1c77a2cdd2
2 changed files with 1 additions and 2 deletions
  1. 0 1
      main/exercise/MatchingDraggable.php
  2. 1 1
      main/exercise/exercise.class.php

+ 0 - 1
main/exercise/MatchingDraggable.php

@@ -272,7 +272,6 @@ class MatchingDraggable extends Question
             $header .= '<th>'.get_lang('ExpectedChoice').'</th>';
             $header .= '<th>'.get_lang('Status').'</th>';
         } else {
-            $header .= '<th>'.get_lang('ElementList').'</th>';
             $header .= '<th>'.get_lang('CorrespondsTo').'</th>';
         }
         $header .= '</tr>';

+ 1 - 1
main/exercise/exercise.class.php

@@ -4379,7 +4379,7 @@ class Exercise
                                             echo '<td>'.$status.'</td>';
                                         } else {
                                             echo '<td>'.$s_answer_label.'</td>';
-                                            echo '<td>'.$user_answer.'</td>';
+                                            //echo '<td>'.$user_answer.'</td>';
                                             echo '<td>';
                                             if (in_array($answerType, [MATCHING, MATCHING_DRAGGABLE])) {
                                                 if (isset($real_list[$i_answer_correct_answer]) &&