Closed Gankarloo closed 4 years ago
I have a feeling you might have ran into errors caused due to the array not being initialized?
I have the following commit in the develop branch already that I believe might fix what you were seeing? https://github.com/opennetadmin/ona/commit/571631b121944dba213c160be94f93b917f65e42
Mind giving that a try first?
Also just noting the revert of the other pull request I've been lazy about.. just curious if you have been running that code from framer99? I've been too neglectful to test that one.. I think it should just work so if you can confirm it works for you that'd be great :)
Thanks.
Will give your commit a try.
Sorry that was just me being clumsy. But I have plans for testing that, I'll prob get back refarding this in a week or so. And thank you :)
Well apparently "now" is later this week.
I'v tested both your commit 571631b
And #84
Both seems to be working as intended. I'll keep them applied to see if anything else breaks, but I doubt it.
@mattpascoe It has been working fine for almost 2 weeks now so my vote is to apply PR #84 and I will close this PR and create another one with only https://github.com/opennetadmin/ona/commit/571631b121944dba213c160be94f93b917f65e42
Closing this PR.. I think we have accounted for these issues in the development branch. Thanks much.
I belive ADODB has changet somewhat. If you supply 2 vars to the Execute function and one is empty you get this error message.
Adds a check to see if $sqlopt is empty then run Execute without it.