Bust subtask title max length to 255 characters

This commit is contained in:
Frederic Guillot
2015-03-09 21:48:45 -04:00
parent f55e12d5ee
commit 900e3fa1fd
3 changed files with 3 additions and 3 deletions

View File

@@ -456,7 +456,7 @@ class Subtask extends Base
return array(
new Validators\Integer('id', t('The subtask id must be an integer')),
new Validators\Integer('task_id', t('The task id must be an integer')),
new Validators\MaxLength('title', t('The maximum length is %d characters', 100), 100),
new Validators\MaxLength('title', t('The maximum length is %d characters', 255), 255),
new Validators\Integer('user_id', t('The user id must be an integer')),
new Validators\Integer('status', t('The status must be an integer')),
new Validators\Numeric('time_estimated', t('The time must be a numeric value')),