We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b657d1 commit a9fc742Copy full SHA for a9fc742
src/ConstantContact/Client.php
@@ -222,6 +222,12 @@ public function get(string $url, array $parameters) : array
222
{
223
try
224
225
+ if ($parameters)
226
+ {
227
+ $paramString = urldecode(http_build_query($parameters));
228
+ $url .= $url . '&' . urlencode(preg_replace('/\[[0-9]\]/', '', $paramString));
229
+ }
230
+
231
$guzzle = new \GuzzleHttp\Client(['headers' => $this->getHeaders()]);
232
$response = $guzzle->request('GET', $url);
233
0 commit comments