diff options
Diffstat (limited to 'app/Api/Comment.php')
-rw-r--r-- | app/Api/Comment.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Api/Comment.php b/app/Api/Comment.php index 4c4027c0..1fc1c708 100644 --- a/app/Api/Comment.php +++ b/app/Api/Comment.php @@ -34,7 +34,7 @@ class Comment extends \Kanboard\Core\Base 'reference' => $reference, ); - list($valid, ) = $this->comment->validateCreation($values); + list($valid, ) = $this->commentValidator->validateCreation($values); return $valid ? $this->comment->create($values) : false; } @@ -46,7 +46,7 @@ class Comment extends \Kanboard\Core\Base 'comment' => $content, ); - list($valid, ) = $this->comment->validateModification($values); + list($valid, ) = $this->commentValidator->validateModification($values); return $valid && $this->comment->update($values); } } |