vclayton/unpecl-oauth

Undefined $curlHeaders

forrestmid opened this issue · 1 comments

With the most recent update you made every $curlHeaders array within an if statement. If $curlHeaders doesn't exist then $curlOptions will throw an error when you try to assign it. I'd recommend making a default array $curlHeaders = []; before the function is run.

Thanks, good catch. I've patched it and tagged release v0.5.4.