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, ]);