diff --git a/QuickBooks/HTTP.php b/QuickBooks/HTTP.php index da76ece0..54e67ea4 100644 --- a/QuickBooks/HTTP.php +++ b/QuickBooks/HTTP.php @@ -479,7 +479,7 @@ protected function _requestCurl($method, &$errnum, &$errmsg) } $query = ''; - if (count($this->_get)) + if (isset($this->_get) && count($this->_get)) { $query = '?' . http_build_query($this->_get); }