diff options
author | Busfreak <Busfreak@users.noreply.github.com> | 2015-12-23 00:18:32 +0100 |
---|---|---|
committer | Busfreak <Busfreak@users.noreply.github.com> | 2015-12-23 00:18:32 +0100 |
commit | 050d69091822641dabd0ded1b6023b7ef9f90311 (patch) | |
tree | 7a6698152aafc9f1eece503f5fa4d4a772782fcd /app/Model/Comment.php | |
parent | be2fde7cc01228ad4526e05d77a3d4865e550357 (diff) | |
parent | 8ff2032ea3fa49972fe076166c831719131e829d (diff) |
Merge pull request #1 from fguillot/master
please merge
Diffstat (limited to 'app/Model/Comment.php')
-rw-r--r-- | app/Model/Comment.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Model/Comment.php b/app/Model/Comment.php index c7125a25..f60a96e3 100644 --- a/app/Model/Comment.php +++ b/app/Model/Comment.php @@ -203,6 +203,7 @@ class Comment extends Base new Validators\Integer('id', t('This value must be an integer')), new Validators\Integer('task_id', t('This value must be an integer')), new Validators\Integer('user_id', t('This value must be an integer')), + new Validators\MaxLength('reference', t('The maximum length is %d characters', 50), 50), new Validators\Required('comment', t('Comment is required')) ); } |