TribeHR/NetSuite-PHP-Client — pull request #8 by rgmccaw (2014-01-16 16:23:23+00:00)
Title: Fix netsuite sync/push issue

So because the $nshost variable was a global the SoapClient would try to find domains in getNetSuiteHosts() with the last $nshost used. After you push a lead on staging that gets set to webservices.sandbox.netsuite.com and then we try to get the hosts with that url but the account id we are using to look up the hosts does not exist on the sandbox environment.

### Testing Notes
To replicate:
- [ ] Change user to trigger NetsuiteSyncUser
- [ ] Make sure that the ENABLE_SIGNUP_NSCORP = true
- [ ] singup and trigger NetsuitePushLead
- [ ] Make change to user again this time it should fail

To get code that fixes it
- [ ] Get this code
- [ ] Restart queue

---
After this code is merged