Update api/answer.php
This commit is contained in:
+1
-2
@@ -35,8 +35,7 @@ foreach ($data['words'] as $word) {
|
||||
if ($word['id'] === $wordId) {
|
||||
|
||||
$correct =
|
||||
strtolower($word['answer']) === strtolower($userAnswer);
|
||||
|
||||
normalize($word['answer']) === normalize($userAnswer);
|
||||
updateWordStats($word, $correct);
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user