summaryrefslogtreecommitdiff
path: root/app/Controller/TaskCreationController.php
diff options
context:
space:
mode:
authorValentin Yakovenkov <yakovenkov@niistt.ru>2016-07-04 19:32:34 +0300
committerValentin Yakovenkov <yakovenkov@niistt.ru>2016-07-07 09:39:47 +0300
commitf392d38e723a51c38da3a938b77822147447676e (patch)
tree6feb124b2e9471fb86e24dffb313614a48c71714 /app/Controller/TaskCreationController.php
parent8856e57163dbdc069f9438b28706f8eec68bbcdc (diff)
Allow Unassigned task creation in team projects with one active user only
Diffstat (limited to 'app/Controller/TaskCreationController.php')
-rw-r--r--app/Controller/TaskCreationController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/TaskCreationController.php b/app/Controller/TaskCreationController.php
index 073b31b0..8636d02a 100644
--- a/app/Controller/TaskCreationController.php
+++ b/app/Controller/TaskCreationController.php
@@ -40,7 +40,7 @@ class TaskCreationController extends BaseController
'errors' => $errors,
'values' => $values + array('project_id' => $project['id']),
'columns_list' => $this->columnModel->getList($project['id']),
- 'users_list' => $this->projectUserRoleModel->getAssignableUsersList($project['id'], true, false, true),
+ 'users_list' => $this->projectUserRoleModel->getAssignableUsersList($project['id'], true, false, $project['is_private']),
'categories_list' => $this->categoryModel->getList($project['id']),
'swimlanes_list' => $swimlanes_list,
'title' => $project['name'].' &gt; '.t('New task')