summaryrefslogtreecommitdiff
path: root/app/Controller/ExternalTaskCreationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/ExternalTaskCreationController.php')
-rw-r--r--app/Controller/ExternalTaskCreationController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/ExternalTaskCreationController.php b/app/Controller/ExternalTaskCreationController.php
index a1985adb..501c6e2e 100644
--- a/app/Controller/ExternalTaskCreationController.php
+++ b/app/Controller/ExternalTaskCreationController.php
@@ -67,7 +67,7 @@ class ExternalTaskCreationController extends BaseController
'errors' => $errors,
'template' => $taskProvider->getCreationFormTemplate(),
'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'] == 1),
'categories_list' => $this->categoryModel->getList($project['id']),
'swimlanes_list' => $this->swimlaneModel->getList($project['id'], false, true),
)));