summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Project.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index 3015ecc0..f0847ef2 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -140,7 +140,7 @@ class Project extends Base
$project = $this->getProject();
$values = $this->request->getValues();
- if ($project['is_private'] == 1) {
+ if ($project['is_private'] == 1 && $this->userSession->isAdmin() && ! isset($values['is_private'])) {
$values += array('is_private' => 0);
}