summaryrefslogtreecommitdiff
path: root/app/Validator/TaskValidator.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Validator/TaskValidator.php')
-rw-r--r--app/Validator/TaskValidator.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Validator/TaskValidator.php b/app/Validator/TaskValidator.php
index 3fc70317..2bf148f4 100644
--- a/app/Validator/TaskValidator.php
+++ b/app/Validator/TaskValidator.php
@@ -217,8 +217,7 @@ class TaskValidator extends BaseValidator
{
$rules = array(
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, $rules);