diff --git a/public/main/exercise/exercise.class.php b/public/main/exercise/exercise.class.php index cfd4269a20..4832b3ea82 100644 --- a/public/main/exercise/exercise.class.php +++ b/public/main/exercise/exercise.class.php @@ -4940,8 +4940,8 @@ class Exercise 0, 0, $results_disabled, - '', - $showTotalScoreAndUserChoicesInLastAttempt + $showTotalScoreAndUserChoicesInLastAttempt, + '' ); } elseif (CALCULATED_ANSWER == $answerType) { ExerciseShowFunctions::display_calculated_answer( @@ -5334,8 +5334,8 @@ class Exercise $exeId, $questionId, $results_disabled, - $str, - $showTotalScoreAndUserChoicesInLastAttempt + $showTotalScoreAndUserChoicesInLastAttempt, + $str ); break; diff --git a/public/main/inc/lib/exercise_show_functions.lib.php b/public/main/inc/lib/exercise_show_functions.lib.php index fb94d1a6d7..2b18a8283c 100644 --- a/public/main/inc/lib/exercise_show_functions.lib.php +++ b/public/main/inc/lib/exercise_show_functions.lib.php @@ -16,8 +16,8 @@ class ExerciseShowFunctions * @param int $id Exercise ID * @param int $questionId Question ID * @param int $resultsDisabled - * @param string $originalStudentAnswer * @param bool $showTotalScoreAndUserChoices + * @param string $originalStudentAnswer */ public static function display_fill_in_blanks_answer( $exercise, @@ -26,8 +26,8 @@ class ExerciseShowFunctions $id, $questionId, $resultsDisabled, - $originalStudentAnswer = '', - $showTotalScoreAndUserChoices + $showTotalScoreAndUserChoices, + $originalStudentAnswer = '' ) { $answerHTML = FillBlanks::getHtmlDisplayForAnswer( $answer,