summaryrefslogtreecommitdiff
path: root/app/Model/TaskProjectDuplicationModel.php
diff options
context:
space:
mode:
authorMichael Vickers <michaelvickers.uk@gmail.com>2018-10-14 15:05:57 +0100
committerfguillot <fred@kanboard.net>2018-10-15 17:59:49 -0700
commit1cd184604c5d0daec13400496f6dac8f788c574c (patch)
treeab46578726761bda19c1a1d1b2121b7e437fcc8e /app/Model/TaskProjectDuplicationModel.php
parentc63a6ed89b77d1ed62ebeeeda0682c41d37efd9c (diff)
Auto link duplicated project tasks
Diffstat (limited to 'app/Model/TaskProjectDuplicationModel.php')
-rw-r--r--app/Model/TaskProjectDuplicationModel.php1
1 files changed, 1 insertions, 0 deletions
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;