diff --git a/Curl.class.php b/Curl.class.php index fcf4a06..1075af3 100644 --- a/Curl.class.php +++ b/Curl.class.php @@ -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); } }