diff --git a/main/exercise/fill_blanks.class.php b/main/exercise/fill_blanks.class.php index 8dded15c83..49a9a5ae1b 100755 --- a/main/exercise/fill_blanks.class.php +++ b/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;