Skip to content

Commit

Permalink
http_build_query fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziumin committed Apr 23, 2012
1 parent 0ff2429 commit b6875f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Generator/UrlGenerator.php
Expand Up @@ -146,7 +146,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 b6875f5

Please sign in to comment.