summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorMichael Vickers <michaelvickers.uk@gmail.com>2018-10-14 15:21:45 +0100
committerfguillot <fred@kanboard.net>2018-10-15 18:04:13 -0700
commitd4749a44025b1518cd8f83941f960e2f699b69b7 (patch)
tree595d2c38b563c0d53ef94a24877034c84c8fc378 /app/Model
parent1cd184604c5d0daec13400496f6dac8f788c574c (diff)
Auto link tasks created from a subtask
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/SubtaskTaskConversionModel.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Model/SubtaskTaskConversionModel.php b/app/Model/SubtaskTaskConversionModel.php
index dd6b479d..35e35325 100644
--- a/app/Model/SubtaskTaskConversionModel.php
+++ b/app/Model/SubtaskTaskConversionModel.php
@@ -35,6 +35,7 @@ class SubtaskTaskConversionModel extends Base
));
if ($task_id !== false) {
+ $this->taskLinkModel->create($task_id, $subtask['task_id'], 6);
$this->subtaskModel->remove($subtask_id);
}