Skip to content

Commit 47d634f

Browse files
authored
Minor: Fix language term
1 parent 22c296d commit 47d634f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/exercise/unique_answer.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public function validateAnswers($form)
353353
$weighting = trim($form->getSubmitValue("weighting[$i]") ?? '');
354354
$isCorrect = ($correct == $i);
355355
if (empty($answer)) {
356-
$errors[] = sprintf(get_lang('QuestionCannotBeEmpty'), $i);
356+
$errors[] = sprintf(get_lang('NoAnswerCanBeEmpty'), $i);
357357
$error_fields[] = "answer[$i]";
358358
}
359359

0 commit comments

Comments
 (0)