From bf14104e32ba3ac785ff7a5f3727fd31ea449f2c Mon Sep 17 00:00:00 2001 From: PranavAwasthi Date: Mon, 5 Feb 2024 18:45:56 +0530 Subject: [PATCH] Fixed wpml issue with fill in the blank on result page --- php/template-variables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/template-variables.php b/php/template-variables.php index a6b398ce9..385a4eadf 100644 --- a/php/template-variables.php +++ b/php/template-variables.php @@ -1142,7 +1142,7 @@ function qsm_questions_answers_shortcode_to_text( $mlw_quiz_array, $qmn_question } $index = $key + 1; if ( $is_answer_correct ) { - $question_with_answer_text .= '(' . $index . ') ' . $decode_single_user_answer . ''; + $question_with_answer_text .= '(' . $index . ') ' . $show_user_answer . ''; } else { if ( '' === $show_user_answer ) { $show_user_answer = $quiz_options->no_answer_text;