Skip to content

Commit

Permalink
[TwigBundle] fixed a PHP warning (closes #4397)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 24, 2012
1 parent 95ca5fe commit 7f93bf1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ public function showAction(FlattenException $exception, DebugLoggerInterface $lo
$this->findTemplate($templating, $format, $code, $this->container->get('kernel')->isDebug()),
array(
'status_code' => $code,
'status_text' => Response::$statusTexts[$code],
'status_text' => isset(Response::$statusTexts[$code]) ? Response::$statusTexts[$code] : '',
'exception' => $exception,
'logger' => $logger,
'currentContent' => $currentContent,
Expand Down

0 comments on commit 7f93bf1

Please sign in to comment.