Skip to content

Commit

Permalink
WIP Revert $subResponse->setContent('');
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Feb 3, 2024
1 parent 9e1ffd4 commit 868c1ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ protected function initiateSubRequest()
return $content;
} catch (StopActionException $exception) {
$subResponse = $exception->response;
$subResponse->setContent('');
// we don't unset the contents of $subResponse as it might contain <meta http-equiv="refresh" for redirects
$subResponse->mergeIntoParentResponse($this->controllerContext->getResponse());
throw $exception;
} catch (ForwardException $exception) {
Expand Down

0 comments on commit 868c1ca

Please sign in to comment.