diff options
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/layout.public.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index e0445f419c4..fb90de5c8ba 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -39,11 +39,11 @@ <span id="nextcloud"> <div class="logo logo-icon svg"></div> <h1 class="header-appname"> - <?php if (isset($template) && $template->getHeaderTitle() !== '') { - p($template->getHeaderTitle()); - } else { - p($theme->getName()); - } ?> + <?php if (isset($template) && $template->getHeaderTitle() !== '') { ?> + <?php p($template->getHeaderTitle()); ?> + <?php } else { ?> + <?php p($theme->getName()); ?> + <?php } ?> </h1> <?php if (isset($template) && $template->getHeaderDetails() !== '') { ?> <div class="header-shared-by"> |