From 318b5414d2f107ed9d129f282db64c68427e0d8a Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Sat, 11 Aug 2018 10:33:01 +0200 Subject: 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. --- app/Controller/ExternalTaskCreationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/ExternalTaskCreationController.php') 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), ))); -- cgit v1.2.3