diff options
author | Stephan Orbaugh <62374139+sorbaugh@users.noreply.github.com> | 2024-09-05 18:02:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 18:02:25 +0200 |
commit | c2f87fbd398792c83e936b5b9cebdda7e1861f89 (patch) | |
tree | 12fd73cf0823e863f51e7b1a09dfce1bd8419873 | |
parent | 3f7956697474df17e5ccbdf4a6524bf787519360 (diff) | |
parent | 4fed8ed891dedadd00103168258013d6ec43ce00 (diff) | |
download | nextcloud-server-c2f87fbd398792c83e936b5b9cebdda7e1861f89.tar.gz nextcloud-server-c2f87fbd398792c83e936b5b9cebdda7e1861f89.zip |
Merge pull request #47761 from nextcloud/fix/missing-footer
fix: Fix missing footer on public pages
-rw-r--r-- | lib/public/AppFramework/Http/Template/PublicTemplateResponse.php | 12 |
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(); + } } |