diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2023-09-28 11:39:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 11:39:23 +0200 |
commit | 1a1514e29655e10b056cee79129b819fb1ebeeeb (patch) | |
tree | 7d7ebfe7bb031d9befea07d7aa3e480ed268f563 /apps/files | |
parent | cdd07904de480fd659594300d075303270663772 (diff) | |
parent | d64bbc8bd3a6a272dd5c550916a6b80222f19e13 (diff) | |
download | nextcloud-server-1a1514e29655e10b056cee79129b819fb1ebeeeb.tar.gz nextcloud-server-1a1514e29655e10b056cee79129b819fb1ebeeeb.zip |
Merge pull request #39225 from shdehnavi/null_coalescing_conversion_apps
Convert isset ternary to null coalescing operator
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 96df2b91a84..17409bdb189 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -37,7 +37,7 @@ function NavigationListElements($item, $l, $pinned) { <?php if (isset($item['defaultExpandedState']) && $item['defaultExpandedState']) { ?> open<?php } ?>" <?php if (isset($item['folderPosition'])) { ?> folderposition="<?php p($item['folderPosition']); ?>" <?php } ?>> - <a href="<?php p(isset($item['href']) ? $item['href'] : '#') ?>" + <a href="<?php p($item['href'] ?? '#') ?>" class="nav-icon-<?php p(isset($item['icon']) && $item['icon'] !== '' ? $item['icon'] : $item['id']) ?> svg"><?php p($item['name']); ?></a> |