diff --git a/src/Symfony/Bundle/TwigBundle/Controller/PreviewErrorController.php b/src/Symfony/Bundle/TwigBundle/Controller/PreviewErrorController.php index c529cfbb46d83..fc291707020ff 100644 --- a/src/Symfony/Bundle/TwigBundle/Controller/PreviewErrorController.php +++ b/src/Symfony/Bundle/TwigBundle/Controller/PreviewErrorController.php @@ -47,7 +47,6 @@ public function previewErrorPageAction(Request $request, $code) '_controller' => $this->controller, 'exception' => $exception, 'logger' => null, - 'format' => $request->getRequestFormat(), 'showException' => false, ]);
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: