From 1cd184604c5d0daec13400496f6dac8f788c574c Mon Sep 17 00:00:00 2001 From: Michael Vickers Date: Sun, 14 Oct 2018 15:05:57 +0100 Subject: Auto link duplicated project tasks --- app/Model/TaskProjectDuplicationModel.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Model') diff --git a/app/Model/TaskProjectDuplicationModel.php b/app/Model/TaskProjectDuplicationModel.php index 8ebed255..be403cb5 100644 --- a/app/Model/TaskProjectDuplicationModel.php +++ b/app/Model/TaskProjectDuplicationModel.php @@ -30,6 +30,7 @@ class TaskProjectDuplicationModel extends TaskDuplicationModel if ($new_task_id !== false) { $this->tagDuplicationModel->duplicateTaskTagsToAnotherProject($task_id, $new_task_id, $project_id); + $this->taskLinkModel->create($new_task_id, $task_id, 4); } return $new_task_id; -- cgit v1.2.3