Add the possibility to send tasks and comments to multiple recipients

This commit is contained in:
Frederic Guillot
2017-11-17 14:46:23 -08:00
parent 3b786e05e0
commit 2a313eb971
44 changed files with 84 additions and 85 deletions

View File

@@ -26,8 +26,7 @@ class CommentValidator extends BaseValidator
new Validators\Required('task_id', t('This value is required')),
new Validators\Required('user_id', t('This value is required')),
new Validators\Required('subject', t('This field is required')),
new Validators\Required('email', t('This field is required')),
new Validators\Email('email', t('Email address invalid')),
new Validators\Required('emails', t('This field is required')),
);
$v = new Validator($values, array_merge($rules, $this->commonValidationRules()));