summaryrefslogtreecommitdiff
path: root/app/Action/TaskDuplicateAnotherProject.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Action/TaskDuplicateAnotherProject.php')
-rw-r--r--app/Action/TaskDuplicateAnotherProject.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Action/TaskDuplicateAnotherProject.php b/app/Action/TaskDuplicateAnotherProject.php
index 5bcdce08..5f05136e 100644
--- a/app/Action/TaskDuplicateAnotherProject.php
+++ b/app/Action/TaskDuplicateAnotherProject.php
@@ -74,7 +74,7 @@ class TaskDuplicateAnotherProject extends Base
*/
public function doAction(array $data)
{
- $destination_column_id = $this->board->getFirstColumn($this->getParam('project_id'));
+ $destination_column_id = $this->column->getFirstColumnId($this->getParam('project_id'));
return (bool) $this->taskDuplication->duplicateToProject($data['task_id'], $this->getParam('project_id'), null, $destination_column_id);
}