diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-09-04 16:41:13 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-09-04 16:41:13 -0700 |
commit | 4fed8ed891dedadd00103168258013d6ec43ce00 (patch) | |
tree | d42e56ec2b85107a5cdd52288a6048351182b416 /lib/public | |
parent | 530e1b982866592fc123e20b73f5498216c20368 (diff) | |
download | nextcloud-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.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(); + } } |