From f392d38e723a51c38da3a938b77822147447676e Mon Sep 17 00:00:00 2001 From: Valentin Yakovenkov Date: Mon, 4 Jul 2016 19:32:34 +0300 Subject: Allow Unassigned task creation in team projects with one active user only --- app/Controller/TaskBulkController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/TaskBulkController.php') diff --git a/app/Controller/TaskBulkController.php b/app/Controller/TaskBulkController.php index df7f589b..80ff8f4f 100644 --- a/app/Controller/TaskBulkController.php +++ b/app/Controller/TaskBulkController.php @@ -32,7 +32,7 @@ class TaskBulkController extends BaseController 'project' => $project, 'values' => $values, 'errors' => $errors, - 'users_list' => $this->projectUserRoleModel->getAssignableUsersList($project['id'], true, false, true), + 'users_list' => $this->projectUserRoleModel->getAssignableUsersList($project['id'], true, false, $project['is_private']), 'colors_list' => $this->colorModel->getList(), 'categories_list' => $this->categoryModel->getList($project['id']), ))); -- cgit v1.2.3