Merge pull request #57348 from nextcloud/fix/adjust-public-page-footer-logic

fix: adjust public page footer logic
This commit is contained in:
Joas Schilling 2026-01-08 11:10:07 +01:00 committed by GitHub
commit eb91d8671d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,7 +93,7 @@ p($theme->getTitle());
<?php print_unescaped($_['content']); ?>
</div>
<?php if ((isset($template) && $template->getFooterVisible()) || $theme->getLongFooter() !== '' || $_['showSimpleSignUpLink']) { ?>
<?php if ((!isset($template) || $template->getFooterVisible() !== false) && ($theme->getLongFooter() !== '' || $_['showSimpleSignUpLink'])) { ?>
<footer class="guest-box">
<?php if ($theme->getLongFooter() !== '') { ?>
<p class="info">