diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-02 14:44:26 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-02 14:44:26 -0400 |
commit | 3fcc0cb9183f9ff32ce7a3c615258bcf53c385ed (patch) | |
tree | 219a6d8270d2067a250ead4096c754ceb0eb1589 /app/Controller | |
parent | 853189a43fff8b8b64f18029a35ac910b14932e8 (diff) |
Handle tags and tasks move/duplication to another project
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/TaskDuplicationController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/TaskDuplicationController.php b/app/Controller/TaskDuplicationController.php index 6a475374..915bf8f8 100644 --- a/app/Controller/TaskDuplicationController.php +++ b/app/Controller/TaskDuplicationController.php @@ -50,7 +50,7 @@ class TaskDuplicationController extends BaseController $values = $this->request->getValues(); list($valid, ) = $this->taskValidator->validateProjectModification($values); - if ($valid && $this->taskDuplicationModel->moveToProject($task['id'], + if ($valid && $this->taskProjectMoveModel->moveToProject($task['id'], $values['project_id'], $values['swimlane_id'], $values['column_id'], @@ -80,7 +80,7 @@ class TaskDuplicationController extends BaseController list($valid, ) = $this->taskValidator->validateProjectModification($values); if ($valid) { - $task_id = $this->taskDuplicationModel->duplicateToProject( + $task_id = $this->taskProjectDuplicationModel->duplicateToProject( $task['id'], $values['project_id'], $values['swimlane_id'], $values['column_id'], $values['category_id'], $values['owner_id'] ); |