diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Api/Comment.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Api/Comment.php b/app/Api/Comment.php index 26b632e9..4c4027c0 100644 --- a/app/Api/Comment.php +++ b/app/Api/Comment.php @@ -25,12 +25,13 @@ class Comment extends \Kanboard\Core\Base return $this->comment->remove($comment_id); } - public function createComment($task_id, $user_id, $content) + public function createComment($task_id, $user_id, $content, $reference = '') { $values = array( 'task_id' => $task_id, 'user_id' => $user_id, 'comment' => $content, + 'reference' => $reference, ); list($valid, ) = $this->comment->validateCreation($values); |