Skip to content

Commit

Permalink
Update src/Symfony/Component/Routing/Generator/UrlGenerator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziumin committed Apr 22, 2012
1 parent a2372e1 commit 9325623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Routing/Generator/UrlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9325623

Please sign in to comment.