mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Clean up
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ class Curl {
|
||||
$query[] = urlencode(is_null($key) ? $k : $key . $brackets) . '=' . rawurlencode($value);
|
||||
}
|
||||
else if (is_array($value)) {
|
||||
$nested = (is_null($key)) ? $k : $key."[".$k."]";
|
||||
$nested = (is_null($key)) ? $k : $key . '[' . $k . ']';
|
||||
$query[] = $this->http_build_multi_query($value, $nested);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user