Skip to content
Permalink
Browse files

http_build_query fix

  • Loading branch information...
Ziumin
Ziumin committed Apr 23, 2012
1 parent de73de0 commit 2e7d3b19c15ea4bfdfafa4e14919a168bc6fb965
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
@@ -190,14 +190,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('_internal', 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;
}

0 comments on commit 2e7d3b1

Please sign in to comment.
You can’t perform that action at this time.