diff options
Diffstat (limited to 'app/Controller/Project.php')
-rw-r--r-- | app/Controller/Project.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php index 6079971a..95779154 100644 --- a/app/Controller/Project.php +++ b/app/Controller/Project.php @@ -574,7 +574,7 @@ class Project extends Base */ public function create(array $values = array(), array $errors = array()) { - $is_private = $this->request->getIntegerParam('private', ! $this->userSession->isAdmin()); + $is_private = $this->request->getIntegerParam('private', $this->userSession->isAdmin() ? 0 : 1); $this->response->html($this->template->layout('project/new', array( 'board_selector' => $this->projectPermission->getAllowedProjects($this->userSession->getId()), |