From 1129cd16570b033cbdccb2c3c333598ef9cbd7a1 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 8 Jul 2024 05:01:59 +0300 Subject: [PATCH] fix query format --- src/Client.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ) );