summaryrefslogtreecommitdiff
path: root/app/Model/TaskDuplicationModel.php
diff options
context:
space:
mode:
authorMichael Vickers <michaelvickers.uk@gmail.com>2018-10-14 14:56:26 +0100
committerfguillot <fred@kanboard.net>2018-10-15 17:59:49 -0700
commitc63a6ed89b77d1ed62ebeeeda0682c41d37efd9c (patch)
tree936b67f04ea1b8d69cb2b18ce0227748f701551e /app/Model/TaskDuplicationModel.php
parent71630aaa77b518d3d0165f772251f09cc249f015 (diff)
Auto link duplicated tasks
Diffstat (limited to 'app/Model/TaskDuplicationModel.php')
-rw-r--r--app/Model/TaskDuplicationModel.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Model/TaskDuplicationModel.php b/app/Model/TaskDuplicationModel.php
index 2076d0d4..4f5e51b7 100644
--- a/app/Model/TaskDuplicationModel.php
+++ b/app/Model/TaskDuplicationModel.php
@@ -57,6 +57,7 @@ class TaskDuplicationModel extends Base
if ($new_task_id !== false) {
$this->tagDuplicationModel->duplicateTaskTags($task_id, $new_task_id);
+ $this->taskLinkModel->create($new_task_id, $task_id, 4);
}
return $new_task_id;