From 4c57f126379b3870468fa60b515046b1f1dd70a4 Mon Sep 17 00:00:00 2001 From: carlos alvarado Date: Thu, 12 Nov 2020 17:12:40 -0500 Subject: [PATCH] Quiz: Replace [...] by selected marker in feedback message - refs #3485 --- main/exercise/fill_blanks.class.php | 137 ++++++++++++++-------------- 1 file changed, 71 insertions(+), 66 deletions(-) diff --git a/main/exercise/fill_blanks.class.php b/main/exercise/fill_blanks.class.php index da1bc1fe37..131364946e 100755 --- a/main/exercise/fill_blanks.class.php +++ b/main/exercise/fill_blanks.class.php @@ -63,40 +63,40 @@ class FillBlanks extends Question } } - echo ''; // answer @@ -887,15 +892,15 @@ class FillBlanks extends Question // we got the less recent attempt first $sql = 'SELECT * FROM '.$tblTrackEAttempt.' tea LEFT JOIN '.$tblTrackEExercise.' tee - ON - tee.exe_id = tea.exe_id AND - tea.c_id = '.$courseId.' AND - exe_exo_id = '.$testId.' - WHERE - tee.c_id = '.$courseId.' AND - question_id = '.$questionId.' AND - tea.user_id IN ('.implode(',', $studentsIdList).') AND - tea.tms >= "'.$startDate.'" AND + ON + tee.exe_id = tea.exe_id AND + tea.c_id = '.$courseId.' AND + exe_exo_id = '.$testId.' + WHERE + tee.c_id = '.$courseId.' AND + question_id = '.$questionId.' AND + tea.user_id IN ('.implode(',', $studentsIdList).') AND + tea.tms >= "'.$startDate.'" AND tea.tms <= "'.$endDate.'" ORDER BY user_id, tea.exe_id; '; @@ -1254,8 +1259,8 @@ class FillBlanks extends Question } if ($hideExpectedAnswer) { - $correctAnswerHtml = ""; }