Permalink
Browse files

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

  • Loading branch information...
1 parent a2372e1 commit 93256237b45e2a1efcc958e2f667853b47c25340 Ziumin committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit 9325623

Please sign in to comment.