Skip to content

Commit

Permalink
update source validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshyson committed Sep 13, 2022
1 parent cb550ec commit 6da08a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fields/BaseRelationField.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public function validateSources($attribute): void
$inputSources = $this->getInputSources();

if ($inputSources === null) {
$this->addError($attribute, Craft::t('app', 'At least one source needs to be selected when relating ancestors.'));
$this->addError($attribute, Craft::t('app', 'One source needs to be selected when relating ancestors.'));
return;
}

Expand Down

0 comments on commit 6da08a8

Please sign in to comment.