From e582408188c116319d0ac3717d8cd9750671694a Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 9 Mar 2010 17:35:47 +0100 Subject: [PATCH] [Routing] fixed typo --- src/Symfony/Components/Routing/Generator/UrlGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Components/Routing/Generator/UrlGenerator.php b/src/Symfony/Components/Routing/Generator/UrlGenerator.php index 33e41b41fd..b3bd93fc88 100644 --- a/src/Symfony/Components/Routing/Generator/UrlGenerator.php +++ b/src/Symfony/Components/Routing/Generator/UrlGenerator.php @@ -38,7 +38,7 @@ class UrlGenerator implements UrlGeneratorInterface public function __construct(RouteCollection $routes, array $context = array(), array $defaults = array()) { $this->routes = $routes; - $this->context = array_merge(array('base_url', ''), $context); + $this->context = array_merge(array('base_url' => ''), $context); $this->defaults = $defaults; $this->cache = array(); }