FIX Fixes #850 Considered location following peer feedback
This commit is contained in:
parent
ca06f000a1
commit
d917262565
|
@ -86,7 +86,10 @@ class EditableNumericField extends EditableFormField
|
|||
{
|
||||
$result = parent::validate();
|
||||
if ($this->MinValue > $this->MaxValue) {
|
||||
$result->addError("Minimum length should be less than the Maximum length.");
|
||||
$result->addError(
|
||||
|
||||
_t(__CLASS__ . '.ORDER_WARNING', 'Minimum length should be less than the maximum length.')
|
||||
);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue