summaryrefslogtreecommitdiff
path: root/app/Action/TaskMoveAnotherProject.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Action/TaskMoveAnotherProject.php')
-rw-r--r--app/Action/TaskMoveAnotherProject.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Action/TaskMoveAnotherProject.php b/app/Action/TaskMoveAnotherProject.php
index 9922a981..d852f56d 100644
--- a/app/Action/TaskMoveAnotherProject.php
+++ b/app/Action/TaskMoveAnotherProject.php
@@ -64,7 +64,7 @@ class TaskMoveAnotherProject extends Base
*/
public function doAction(array $data)
{
- $task = $this->task->getById($data['task_id']);
+ $task = $this->taskFinder->getById($data['task_id']);
$this->task->moveToAnotherProject($this->getParam('project_id'), $task);
return true;
}