Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$this->_postData is not cleared after each request #10

Open
walliby opened this issue May 3, 2017 · 0 comments
Open

$this->_postData is not cleared after each request #10

walliby opened this issue May 3, 2017 · 0 comments

Comments

@walliby
Copy link

walliby commented May 3, 2017

I am instantiating the Emma class once and then making several API calls. I noticed some errors due to leftover data in $this->_postData after each request. I resolved the issue by adding $this->_postData = array(); before curl_close($ch);

I have also added $this->_params = array(); before curl_close($ch); to be safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant