1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-03-14 19:29:49 +01:00

[Http] Adding fix for when parse_url does not return array

This commit is contained in:
Michael Dowling 2011-03-13 18:44:18 -05:00
parent 9844615293
commit d83423fac8

View File

@ -50,7 +50,7 @@ class Url
'user' => null,
'pass' => null,
'fragment' => null
), parse_url($url));
), (array) parse_url($url));
if ($parts['query']) {
$query = array();