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.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Action/TaskDuplicateAnotherProject.php b/app/Action/TaskDuplicateAnotherProject.php
index 55ebc76e..7b7c6bf6 100644
--- a/app/Action/TaskDuplicateAnotherProject.php
+++ b/app/Action/TaskDuplicateAnotherProject.php
@@ -64,7 +64,9 @@ class TaskDuplicateAnotherProject extends Base
*/
public function doAction(array $data)
{
- return (bool) $this->taskDuplication->duplicateToProject($data['task_id'], $this->getParam('project_id'));
+ $destination_column_id = $this->board->getFirstColumn($this->getParam('project_id'));
+
+ return (bool) $this->taskDuplication->duplicateToProject($data['task_id'], $this->getParam('project_id'), null, $destination_column_id);
}
/**