Explorar o código

[Routing] fixed typo

Fabien Potencier %!s(int64=15) %!d(string=hai) anos
pai
achega
e582408188
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Symfony/Components/Routing/Generator/UrlGenerator.php

+ 1 - 1
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();
   }