From d4749a44025b1518cd8f83941f960e2f699b69b7 Mon Sep 17 00:00:00 2001 From: Michael Vickers Date: Sun, 14 Oct 2018 15:21:45 +0100 Subject: Auto link tasks created from a subtask --- app/Model/SubtaskTaskConversionModel.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app') 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); } -- cgit v1.2.3