mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX: Fixes #833 After peer review.
This commit is contained in:
parent
4ebcfccf44
commit
0fd0b3fc1f
@ -110,9 +110,9 @@ class EditableTextField extends EditableFormField
|
||||
|
||||
if ($this->MinLength > $this->MaxLength) {
|
||||
$result->addError(_t(
|
||||
__CLASS__ . 'MINMAXLENGTHCHECK',
|
||||
'Minimum length should be less than the Maximum length.'
|
||||
));
|
||||
__CLASS__ . 'MINMAXLENGTHCHECK',
|
||||
'Minimum length should be less than the Maximum length.'
|
||||
));
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
Loading…
Reference in New Issue
Block a user