Skip to content

Commit eb91d86

Browse files
Merge pull request #57348 from nextcloud/fix/adjust-public-page-footer-logic
fix: adjust public page footer logic
2 parents a1fbd55 + 6b3d3fd commit eb91d86

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)