diff options
Diffstat (limited to 'app/Controller')
-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 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); } |