From cf630690bea92cf79a22dda32b899ee96731daaa Mon Sep 17 00:00:00 2001 From: "Mario A. Alvarez Garcia" Date: Thu, 6 Dec 2012 08:14:56 -0500 Subject: [PATCH] Fixed copy/paste mistake --- .../Bundle/FrameworkBundle/Command/RouterDebugCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php index 18aeaa9af0..fa3e681b89 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php @@ -147,7 +147,7 @@ EOF foreach ($r as $name => $value) { $requirements .= ($requirements ? "\n".str_repeat(' ', 13) : '').$name.': '.$this->formatValue($value); } - $requirements = '' !== $requirements ? $route->getHostnamePattern() : 'NONE'; + $requirements = '' !== $requirements ? $requirements : 'NONE'; $output->writeln(sprintf('Requirements %s', $requirements)); $options = '';