diff options
Diffstat (limited to 'app/Model/SubTask.php')
-rw-r--r-- | app/Model/SubTask.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/SubTask.php b/app/Model/SubTask.php index a4fae764..400c79f4 100644 --- a/app/Model/SubTask.php +++ b/app/Model/SubTask.php @@ -234,7 +234,7 @@ class SubTask extends Base new Validators\Required('title', t('The title is required')), ); - $v = new Validator($values, $rules + $this->commonValidationRules()); + $v = new Validator($values, array_merge($rules, $this->commonValidationRules())); return array( $v->execute(), @@ -256,7 +256,7 @@ class SubTask extends Base new Validators\Required('task_id', t('The task id is required')), ); - $v = new Validator($values, $rules + $this->commonValidationRules()); + $v = new Validator($values, array_merge($rules, $this->commonValidationRules())); return array( $v->execute(), |