summaryrefslogtreecommitdiff
path: root/app/Controller/TaskGanttCreationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/TaskGanttCreationController.php')
-rw-r--r--app/Controller/TaskGanttCreationController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/TaskGanttCreationController.php b/app/Controller/TaskGanttCreationController.php
index 07b74a49..4361ede3 100644
--- a/app/Controller/TaskGanttCreationController.php
+++ b/app/Controller/TaskGanttCreationController.php
@@ -35,7 +35,7 @@ class TaskGanttCreationController extends BaseController
'project' => $project,
'errors' => $errors,
'values' => $values,
- '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' => $this->swimlaneModel->getList($project['id'], false, true),
'title' => $project['name'].' > '.t('New task')