Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7bb1abe

Browse files
committed
fixed typo
1 parent c7b899c commit 7bb1abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct(\Twig_Environment $twig, $debug)
5858
public function showAction(Request $request, FlattenException $exception, DebugLoggerInterface $logger = null)
5959
{
6060
$currentContent = $this->getAndCleanOutputBuffering($request->headers->get('X-Php-Ob-Level', -1));
61-
$showException = $request->get('showException', $this->debug); // As opposed to an additional parameter, this maintains BC
61+
$showException = $request->attributes->get('showException', $this->debug); // As opposed to an additional parameter, this maintains BC
6262

6363
$code = $exception->getStatusCode();
6464

0 commit comments

Comments
 (0)