summaryrefslogtreecommitdiff
path: root/app/Controller/Taskduplication.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-31 17:46:19 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-31 17:46:19 -0500
commitfc21d3873e3ac63222ad4065a593c715bef4c251 (patch)
treeb1795031eda0774aeb1af9fb20606fe38611e0eb /app/Controller/Taskduplication.php
parent1500ff92b2dc3d3932c8e06755bec23f9017e8a4 (diff)
When creating a new project, have the possibility to select another project to duplicate
Diffstat (limited to 'app/Controller/Taskduplication.php')
-rw-r--r--app/Controller/Taskduplication.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Taskduplication.php b/app/Controller/Taskduplication.php
index ae8bfcbc..a41183a7 100644
--- a/app/Controller/Taskduplication.php
+++ b/app/Controller/Taskduplication.php
@@ -109,7 +109,7 @@ class Taskduplication extends Base
private function chooseDestination(array $task, $template)
{
$values = array();
- $projects_list = $this->projectUserRole->getProjectsByUser($this->userSession->getId(), array(ProjectModel::ACTIVE));
+ $projects_list = $this->projectUserRole->getActiveProjectsByUser($this->userSession->getId());
unset($projects_list[$task['project_id']]);