From e9636cc0700f9cc1e59dd5e7d260eddda9cc25cb Mon Sep 17 00:00:00 2001 From: Michael Gerdemann Date: Sun, 19 Jan 2020 11:04:51 +0100 Subject: [PATCH] fix: Fix query handling --- Classes/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Client.php b/Classes/Client.php index 9ee193a..a22a4f9 100644 --- a/Classes/Client.php +++ b/Classes/Client.php @@ -75,7 +75,7 @@ class Client */ public function request(string $uri = '', string $method = 'GET', array $options = []): ResponseInterface { - if (!empty($this->config['query']) && !empty($options['query'])) { + if (!empty($this->config['query']) && isset($options['query'])) { $options['query'] = array_merge($this->config['query'], $options['query']); } return $this->httpClient->request($method, $uri, $options);