summaryrefslogtreecommitdiff
path: root/app/Validator/CommentValidator.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Validator/CommentValidator.php')
-rw-r--r--app/Validator/CommentValidator.php3
1 files changed, 1 insertions, 2 deletions
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()));