diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-29 11:53:06 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-29 11:53:06 +0000 |
| commit | 6dee621eda725dd9e640a2eb34b4684ea0638af6 (patch) | |
| tree | 3708ddb8a3e6cb77872377c9e188fab3422dc6be /app | |
| parent | 2a7f4401cb87e479765df527a887fdbeb905c572 (diff) | |
fixes #4086
Closes #4086
Merge request studip/studip!2930
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/admin/tree/create.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/tree/create.php b/app/views/admin/tree/create.php index 027507a..55d26a5 100644 --- a/app/views/admin/tree/create.php +++ b/app/views/admin/tree/create.php @@ -20,8 +20,8 @@ <? foreach ($GLOBALS['SEM_TREE_TYPES'] as $index => $type) : ?> <option value="<?= htmlReady($index) ?>"> <?= $type['name'] ?: _('Standard') ?> - <?= !$type['editable'] ? _('(nicht mehr nachträglich änderbar)') : '' ?> - <?= $type['hidden'] ? _('(dieser Knoten ist versteckt)') : '' ?> + <?= empty($type['editable']) ? _('(nicht mehr nachträglich änderbar)') : '' ?> + <?= !empty($type['hidden']) ? _('(dieser Knoten ist versteckt)') : '' ?> </option> <? endforeach ?> </select> |
