summaryrefslogtreecommitdiff
path: root/app/Controller/SubtaskConverterController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/SubtaskConverterController.php')
-rw-r--r--app/Controller/SubtaskConverterController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/SubtaskConverterController.php b/app/Controller/SubtaskConverterController.php
index 8a3021e2..65bcd2da 100644
--- a/app/Controller/SubtaskConverterController.php
+++ b/app/Controller/SubtaskConverterController.php
@@ -26,7 +26,7 @@ class SubtaskConverterController extends BaseController
$project = $this->getProject();
$subtask = $this->getSubtask();
- $task_id = $this->subtask->convertToTask($project['id'], $subtask['id']);
+ $task_id = $this->subtaskModel->convertToTask($project['id'], $subtask['id']);
if ($task_id !== false) {
$this->flash->success(t('Subtask converted to task successfully.'));