Increased maximum comment length to 5000 chars
This commit is contained in:
parent
36d2842b6e
commit
9eaab55dab
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class CommentService
|
|||
|
||||
private function updateCommentText(Comment $comment, $text)
|
||||
{
|
||||
$this->validator->validateLength($text, 5, 2000, 'Comment text');
|
||||
$this->validator->validateLength($text, 5, 5000, 'Comment text');
|
||||
$comment->setText($text);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue