Browse Source

More result_disable changes BT#15743

Julio 5 years ago
parent
commit
55c3bed3ca

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

@@ -271,7 +271,7 @@ class GlobalMultipleAnswer extends Question
 
         if (!in_array($exercise->results_disabled, [
             RESULT_DISABLE_SHOW_ONLY_IN_CORRECT_ANSWER,
-            RESULT_DISABLE_SHOW_SCORE_AND_EXPECTED_ANSWERS_AND_RANKING,
+            //RESULT_DISABLE_SHOW_SCORE_AND_EXPECTED_ANSWERS_AND_RANKING,
         ])
         ) {
             $header .= '<th>'.get_lang('Choice').'</th>';

+ 1 - 1
main/inc/lib/exercise_show_functions.lib.php

@@ -408,7 +408,7 @@ class ExerciseShowFunctions
             echo '</td>';
         }
 
-        if ($feedbackType != EXERCISE_FEEDBACK_TYPE_EXAM && $studentChoice) {
+        if ($feedbackType != EXERCISE_FEEDBACK_TYPE_EXAM) {
             $showComment = true;
         }