diff options
Diffstat (limited to 'app/Action/CommentCreation.php')
| -rw-r--r-- | app/Action/CommentCreation.php | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Action/CommentCreation.php b/app/Action/CommentCreation.php index b91e39e2..60ca24f7 100644 --- a/app/Action/CommentCreation.php +++ b/app/Action/CommentCreation.php @@ -65,11 +65,11 @@ class CommentCreation extends Base       */      public function doAction(array $data)      { -        return (bool) $this->comment->create(array( +        return (bool) $this->commentModel->create(array(              'reference' => isset($data['reference']) ? $data['reference'] : '',              'comment' => $data['comment'],              'task_id' => $data['task_id'], -            'user_id' => isset($data['user_id']) && $this->projectPermission->isAssignable($this->getProjectId(), $data['user_id']) ? $data['user_id'] : 0, +            'user_id' => isset($data['user_id']) && $this->projectPermissionModel->isAssignable($this->getProjectId(), $data['user_id']) ? $data['user_id'] : 0,          ));      }  | 
