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:
parent
9844615293
commit
d83423fac8
@ -50,7 +50,7 @@ class Url
|
||||
'user' => null,
|
||||
'pass' => null,
|
||||
'fragment' => null
|
||||
), parse_url($url));
|
||||
), (array) parse_url($url));
|
||||
|
||||
if ($parts['query']) {
|
||||
$query = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user