diff --git a/main/exercice/exercise.class.php b/main/exercice/exercise.class.php index d570fee4c0..60d4ecb627 100755 --- a/main/exercice/exercise.class.php +++ b/main/exercice/exercise.class.php @@ -2226,7 +2226,7 @@ class Exercise { } } elseif($answerType == MULTIPLE_ANSWER_TRUE_FALSE) { if ($origin!='learnpath') { - ExerciseShowFunctions::display_multiple_answer_true_false($answerType, $studentChoice, $answer, $answerComment, $answerCorrect,0,0,0); + ExerciseShowFunctions::display_multiple_answer_true_false($answerType, $studentChoice, $answer, $answerComment, $answerCorrect,0,$questionId,0); } } elseif($answerType == MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE ) { if ($origin!='learnpath') { diff --git a/main/exercice/exercise_result.php b/main/exercice/exercise_result.php index e98f9580d5..57b2fe8117 100755 --- a/main/exercice/exercise_result.php +++ b/main/exercice/exercise_result.php @@ -198,7 +198,7 @@ foreach ($questionList as $questionId) { unset($objQuestionTmp); // decide how many columns we want to use to show the results of each type - if($answerType == UNIQUE_ANSWER || $answerType == MULTIPLE_ANSWER || $answerType == MULTIPLE_ANSWER_COMBINATION) { + if($answerType == UNIQUE_ANSWER || $answerType == MULTIPLE_ANSWER || $answerType == MULTIPLE_ANSWER_COMBINATION || MULTIPLE_ANSWER_TRUE_FALSE) { $colspan=4; } elseif($answerType == MATCHING || $answerType == FREE_ANSWER) { $colspan=2; @@ -224,7 +224,7 @@ foreach ($questionList as $questionId) { diff --git a/main/inc/lib/exercise_show_functions.lib.php b/main/inc/lib/exercise_show_functions.lib.php index 431d6c6297..7bda8788b1 100755 --- a/main/inc/lib/exercise_show_functions.lib.php +++ b/main/inc/lib/exercise_show_functions.lib.php @@ -231,7 +231,7 @@ class ExerciseShowFunctions {