summaryrefslogtreecommitdiff
path: root/app/Validator/ExternalLinkValidator.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/ExternalLinkValidator.php
parent8c5b9925c49bc1a989cdc5e146ce79543fdf7f0a (diff)
Increase text fields length in several tables
Diffstat (limited to 'app/Validator/ExternalLinkValidator.php')
-rw-r--r--app/Validator/ExternalLinkValidator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Validator/ExternalLinkValidator.php b/app/Validator/ExternalLinkValidator.php
index 9c017708..638e9437 100644
--- a/app/Validator/ExternalLinkValidator.php
+++ b/app/Validator/ExternalLinkValidator.php
@@ -61,9 +61,9 @@ class ExternalLinkValidator extends BaseValidator
{
return array(
new Validators\Required('url', t('Field required')),
- new Validators\MaxLength('url', t('The maximum length is %d characters', 255), 255),
+ new Validators\MaxLength('url', t('The maximum length is %d characters', 65535), 65535),
new Validators\Required('title', t('Field required')),
- new Validators\MaxLength('title', t('The maximum length is %d characters', 255), 255),
+ new Validators\MaxLength('title', t('The maximum length is %d characters', 65535), 65535),
new Validators\Required('link_type', t('Field required')),
new Validators\MaxLength('link_type', t('The maximum length is %d characters', 100), 100),
new Validators\Required('dependency', t('Field required')),