Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update src/Symfony/Component/Routing/Generator/UrlGenerator.php

  • Loading branch information...
commit 93256237b45e2a1efcc958e2f667853b47c25340 1 parent a2372e1
Ziumin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Symfony/Component/Routing/Generator/UrlGenerator.php
View
2  src/Symfony/Component/Routing/Generator/UrlGenerator.php
@@ -135,7 +135,7 @@ protected function doGenerate($variables, $defaults, $requirements, $tokens, $pa
// add a query string if needed
$extra = array_diff_key($originParameters, $variables, $defaults);
- if ($extra && $query = http_build_query($extra)) {
+ if ($extra && $query = http_build_query($extra, '', '&')) {
$url .= '?'.$query;
}
Please sign in to comment.
Something went wrong with that request. Please try again.