Skip to content

Commit c2f87fb

Browse files
authored
Merge pull request #47761 from nextcloud/fix/missing-footer
fix: Fix missing footer on public pages
2 parents 3f79566 + 4fed8ed commit c2f87fb

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

lib/public/AppFramework/Http/Template/PublicTemplateResponse.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,16 @@ public function setFooterVisible(bool $visible = false) {
159159
public function getFooterVisible(): bool {
160160
return $this->footerVisible;
161161
}
162+
163+
/**
164+
* @return string
165+
* @since 14.0.0
166+
*/
167+
public function render(): string {
168+
$params = array_merge($this->getParams(), [
169+
'template' => $this,
170+
]);
171+
$this->setParams($params);
172+
return parent::render();
173+
}
162174
}

0 commit comments

Comments
 (0)