Fix fill in blanks when save correct answers is active

Refs #14766
pull/2715/head
Angel Fernando Quiroz Campos 6 years ago
parent f4d41383a5
commit b22dbc16a0
  1. 1
      main/exercise/fill_blanks.class.php

@ -664,6 +664,7 @@ class FillBlanks extends Question
$item = $listMenu[0];
if (!$fromDatabase) {
$item = sha1($item);
$studentAnswer = sha1($studentAnswer);
}
if ($item === $studentAnswer) {
$result = true;

Loading…
Cancel
Save