Skip to content

Commit

Permalink
BUGFIX: Make sure not to overwrite parent response content
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsunet committed Jan 6, 2020
1 parent d75053c commit 0412379
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Classes/Core/Runtime/FormRuntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,12 @@ public function render()
{
if ($this->isAfterLastPage()) {
$this->invokeFinishers();

// Do not provide content to parent request as that would overwrite in later mergers.
$content = $this->response->getContent();
$this->response->setContent('');
$this->response->mergeIntoParentResponse($this->parentResponse);
return $this->response->getContent();
return $content;
}

$this->formState->setLastDisplayedPageIndex($this->currentPage->getIndex());
Expand Down

0 comments on commit 0412379

Please sign in to comment.