summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-05-02 20:26:07 +0200
committerGitHub <noreply@github.com>2020-05-02 20:26:07 +0200
commit5ca0ffbcf036ce6119d0b4fa9d65352aa2865d07 (patch)
tree69f6e06fc669e6e2a5c6704ba53a6cf0bc8622da
parent8910a1ffcba8d78831a238d170700e8ace3e0979 (diff)
parent74d40233f5d20429483de113dbf1242ca6669c0a (diff)
downloadnextcloud-server-5ca0ffbcf036ce6119d0b4fa9d65352aa2865d07.tar.gz
nextcloud-server-5ca0ffbcf036ce6119d0b4fa9d65352aa2865d07.zip
Merge pull request #20779 from nextcloud/fix/noid/php-cs
Comply with php-cs for CI
-rw-r--r--core/templates/layout.public.php10
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">