Skip to content

Commit

Permalink
Tagging a new release 1.7.6.3 (a minor correction).
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantcholakov committed Feb 4, 2015
1 parent 05dc92d commit 077ab7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http_build_url.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ function http_build_url($url = array(), $parts = array(), $flags = HTTP_URL_REPL
$url = array_intersect_key($url, $all_keys_flipped);
$parts = array_intersect_key($parts, $all_keys_flipped);

// Unfortunately the 'query' part can not be an array type.
// Unfortunately the 'query' part can not be an array or object type.
if (isset($url['query']) && !is_string($url['query'])) {
unset($url['query']);
}

// Unfortunately the 'query' part can not be an array type.
// Unfortunately the 'query' part can not be an array or object type.
if (isset($parts['query']) && !is_string($parts['query'])) {
unset($parts['query']);
}
Expand Down

0 comments on commit 077ab7d

Please sign in to comment.