Skip to content

Commit

Permalink
fix: Fix missing footer on public pages
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed Sep 4, 2024
1 parent 530e1b9 commit 4fed8ed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/public/AppFramework/Http/Template/PublicTemplateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,16 @@ public function setFooterVisible(bool $visible = false) {
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();
}
}

0 comments on commit 4fed8ed

Please sign in to comment.