From 2a313eb971ab36e166308f7882897ef204234d0a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 17 Nov 2017 14:46:23 -0800 Subject: Add the possibility to send tasks and comments to multiple recipients --- app/Validator/CommentValidator.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Validator/CommentValidator.php') diff --git a/app/Validator/CommentValidator.php b/app/Validator/CommentValidator.php index 29994afc..9c883c00 100644 --- a/app/Validator/CommentValidator.php +++ b/app/Validator/CommentValidator.php @@ -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())); -- cgit v1.2.3