Browse Source

Merge remote-tracking branch 'upstream/ofaj_dev' into preprodparkur

Nicolas Ducoulombier 5 years ago
parent
commit
cd6c65e523
1 changed files with 5 additions and 1 deletions
  1. 5 1
      main/inc/lib/exercise_show_functions.lib.php

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

@@ -413,7 +413,11 @@ class ExerciseShowFunctions
                 $status = Display::label(get_lang('Correct'), 'success');
             }
             echo '<td width="20%">';
-            echo $status;
+            // Show only status for the selected student answer BT#16256
+            if ($studentChoice) {
+                echo $status;
+            }
+
             echo '</td>';
         }