From 5acdd246be9af1f2b3d25f3b69ef2d79f3017ca7 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Wed, 18 Dec 2013 20:53:15 -0800 Subject: [PATCH] Clean up --- Curl.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }