diff options
Diffstat (limited to 'app/Template/project/edit.php')
-rw-r--r-- | app/Template/project/edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project/edit.php b/app/Template/project/edit.php index 794267f4..c8f235c7 100644 --- a/app/Template/project/edit.php +++ b/app/Template/project/edit.php @@ -13,7 +13,7 @@ <?= $this->form->text('identifier', $values, $errors, array('maxlength="50"')) ?> <p class="form-help"><?= t('The project identifier is an optional alphanumeric code used to identify your project.') ?></p> - <?php if ($this->user->isAdmin()): ?> + <?php if ($this->user->isAdmin() || $this->user->isProjectAdministrationAllowed($project['id'])): ?> <?= $this->form->checkbox('is_private', t('Private project'), 1, $project['is_private'] == 1) ?> <?php endif ?> |