diff --git a/src/Client.php b/src/Client.php index 45360f2..c121c49 100644 --- a/src/Client.php +++ b/src/Client.php @@ -113,7 +113,10 @@ class Client sprintf( "%s%s\r\n", $this->_path, - $this->_query + $this->_query ? sprintf( + '?%s', + $this->_query + ) : null ) );