Skip to content

Commit 614311d

Browse files
Merge pull request #57430 from nextcloud/backport/57348/stable32
[stable32] fix: adjust public page footer logic
2 parents 30645f7 + bf51f2a commit 614311d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/templates/layout.public.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<?php print_unescaped($_['content']); ?>
9494
</div>
9595

96-
<?php if ((isset($template) && $template->getFooterVisible()) || $theme->getLongFooter() !== '' || $_['showSimpleSignUpLink']) { ?>
96+
<?php if ((!isset($template) || $template->getFooterVisible() !== false) && ($theme->getLongFooter() !== '' || $_['showSimpleSignUpLink'])) { ?>
9797
<footer class="guest-box">
9898
<?php if ($theme->getLongFooter() !== '') { ?>
9999
<p class="info">

0 commit comments

Comments
 (0)