diff --git a/code/Model/EditableFormField/EditableTextField.php b/code/Model/EditableFormField/EditableTextField.php index 2e78560..4938687 100644 --- a/code/Model/EditableFormField/EditableTextField.php +++ b/code/Model/EditableFormField/EditableTextField.php @@ -109,13 +109,15 @@ class EditableTextField extends EditableFormField $result = parent::validate(); if ($this->MinLength > $this->MaxLength) { - $result->addError(_t(__CLASS__.'MINMAXLENGTHCHECK', 'Minimum length should be less than the Maximum length.' )); + $result->addError(_t( + __CLASS__ . 'MINMAXLENGTHCHECK', + 'Minimum length should be less than the Maximum length.' + )); } return $result; } - /** * @return FieldList */