fixed typo

This commit is contained in:
Fabien Potencier 2014-11-21 09:24:15 +01:00
parent c7b899c8aa
commit 7bb1abe6f3

View File

@ -58,7 +58,7 @@ class ExceptionController
public function showAction(Request $request, FlattenException $exception, DebugLoggerInterface $logger = null)
{
$currentContent = $this->getAndCleanOutputBuffering($request->headers->get('X-Php-Ob-Level', -1));
$showException = $request->get('showException', $this->debug); // As opposed to an additional parameter, this maintains BC
$showException = $request->attributes->get('showException', $this->debug); // As opposed to an additional parameter, this maintains BC
$code = $exception->getStatusCode();