diff --git a/src/Emma.php b/src/Emma.php index c51af81..7e158a4 100644 --- a/src/Emma.php +++ b/src/Emma.php @@ -957,7 +957,11 @@ function webhooksRemoveAll() { protected function get($path, $params = array()) { $this->_params = array_merge($params, $this->_params); $url = $this->_constructUrl($path); - return $this->_request($url); + $req = $this->_request($url); + foreach($params as $key => $value) { + unset($this->_params[$key]); + } + return $req; } /**