We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c296d commit 47d634fCopy full SHA for 47d634f
main/exercise/unique_answer.class.php
@@ -353,7 +353,7 @@ public function validateAnswers($form)
353
$weighting = trim($form->getSubmitValue("weighting[$i]") ?? '');
354
$isCorrect = ($correct == $i);
355
if (empty($answer)) {
356
- $errors[] = sprintf(get_lang('QuestionCannotBeEmpty'), $i);
+ $errors[] = sprintf(get_lang('NoAnswerCanBeEmpty'), $i);
357
$error_fields[] = "answer[$i]";
358
}
359
0 commit comments