mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Increased maximum comment length to 5000 chars
This commit is contained in:
@ -101,7 +101,7 @@ class CommentService
|
|||||||
|
|
||||||
private function updateCommentText(Comment $comment, $text)
|
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);
|
$comment->setText($text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user