diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-07-26 22:34:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 22:34:27 +0200 |
commit | ac4e60e6f43125dc2adc2545ba426d74a62b9ed0 (patch) | |
tree | ea76e8c2b67716802b47d7c5726e64530271c972 /core/templates | |
parent | 5671abd168b58348859acf068c25313992dfaa0b (diff) | |
parent | b896cd7f01f6fc6ddcaba2685d9f5fce4e7163f8 (diff) | |
download | nextcloud-server-ac4e60e6f43125dc2adc2545ba426d74a62b9ed0.tar.gz nextcloud-server-ac4e60e6f43125dc2adc2545ba426d74a62b9ed0.zip |
Merge pull request #33361 from nextcloud/techdebt/noid/further-cleanup
Further markup cleanup
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/layout.user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 4120050be48..6475845321d 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -172,7 +172,7 @@ $getUserAvatar = static function (int $size) use ($_): string { <ul> <?php foreach ($_['settingsnavigation'] as $entry):?> <li data-id="<?php p($entry['id']); ?>"> - <a href="<?php print_unescaped($entry['href']); ?>" + <a href="<?php print_unescaped($entry['href'] !== '' ? $entry['href'] : '#'); ?>" <?php if ($entry["active"]): ?> class="active"<?php endif; ?>> <img alt="" src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>"> <?php p($entry['name']) ?> |