Skip to content

Commit

Permalink
Update src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziumin committed Apr 22, 2012
1 parent b0a6956 commit a2372e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
Expand Up @@ -208,14 +208,14 @@ public function generateInternalUri($controller, array $attributes = array(), ar
return $controller;
}

$path = http_build_query($attributes);
$path = http_build_query($attributes, '', '&');
$uri = $this->container->get('router')->generate($secure ? '_internal' : '_internal_public', array(
'controller' => $controller,
'path' => $path ?: 'none',
'_format' => $this->container->get('request')->getRequestFormat(),
));

if ($queryString = http_build_query($query)) {
if ($queryString = http_build_query($query, '', '&')) {
$uri .= '?'.$queryString;
}

Expand Down

0 comments on commit a2372e1

Please sign in to comment.