aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2024-09-04 16:41:13 -0700
committerChristopher Ng <chrng8@gmail.com>2024-09-04 16:41:13 -0700
commit4fed8ed891dedadd00103168258013d6ec43ce00 (patch)
treed42e56ec2b85107a5cdd52288a6048351182b416 /lib/public
parent530e1b982866592fc123e20b73f5498216c20368 (diff)
downloadnextcloud-server-4fed8ed891dedadd00103168258013d6ec43ce00.tar.gz
nextcloud-server-4fed8ed891dedadd00103168258013d6ec43ce00.zip
fix: Fix missing footer on public pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/AppFramework/Http/Template/PublicTemplateResponse.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php b/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php
index b89c84f297f..1000f4db549 100644
--- a/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php
+++ b/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php
@@ -159,4 +159,16 @@ class PublicTemplateResponse extends TemplateResponse {
public function getFooterVisible(): bool {
return $this->footerVisible;
}
+
+ /**
+ * @return string
+ * @since 14.0.0
+ */
+ public function render(): string {
+ $params = array_merge($this->getParams(), [
+ 'template' => $this,
+ ]);
+ $this->setParams($params);
+ return parent::render();
+ }
}