summaryrefslogtreecommitdiff
path: root/app/Validator/TaskValidator.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-04-11 12:03:38 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-04-11 13:48:13 -0700
commitdd92564d221f35fc4fc7bb449c6d24cc4743247b (patch)
treefb1e46d904f0fbf1f33f1449ca24354003f5e809 /app/Validator/TaskValidator.php
parent8c5b9925c49bc1a989cdc5e146ce79543fdf7f0a (diff)
Increase text fields length in several tables
Diffstat (limited to 'app/Validator/TaskValidator.php')
-rw-r--r--app/Validator/TaskValidator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Validator/TaskValidator.php b/app/Validator/TaskValidator.php
index 2bf148f4..7f905b2d 100644
--- a/app/Validator/TaskValidator.php
+++ b/app/Validator/TaskValidator.php
@@ -40,8 +40,8 @@ class TaskValidator extends BaseValidator
new Validators\Integer('recurrence_trigger', t('This value must be an integer')),
new Validators\Integer('recurrence_status', t('This value must be an integer')),
new Validators\Integer('priority', t('This value must be an integer')),
- new Validators\MaxLength('title', t('The maximum length is %d characters', 200), 200),
- new Validators\MaxLength('reference', t('The maximum length is %d characters', 50), 50),
+ new Validators\MaxLength('title', t('The maximum length is %d characters', 65535), 65535),
+ new Validators\MaxLength('reference', t('The maximum length is %d characters', 255), 255),
new Validators\Date('date_due', t('Invalid date'), $this->dateParser->getParserFormats()),
new Validators\Date('date_started', t('Invalid date'), $this->dateParser->getParserFormats()),
new Validators\Numeric('time_spent', t('This value must be numeric')),