diff options
author | Julian Maurice <julian.maurice@biblibre.com> | 2018-08-11 10:33:01 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-08-12 10:28:59 -0700 |
commit | 318b5414d2f107ed9d129f282db64c68427e0d8a (patch) | |
tree | 325255538d70ecaf7c49184e4fb3aefb8a696e74 /app/Controller/ExternalTaskCreationController.php | |
parent | 9d4cd31e1aae02e9980932c67036fdfe574e3432 (diff) |
Allow 'No assignee' for external task on single user public boards
'No assignee' option is already available in modification but not in
creation.
This patch fixes that by allowing the 'No assignee' option on external
task creation.
Diffstat (limited to 'app/Controller/ExternalTaskCreationController.php')
-rw-r--r-- | app/Controller/ExternalTaskCreationController.php | 2 |
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), ))); |