themattharris / tmhOAuth

An OAuth 1.0A library written in PHP
Apache License 2.0
855 stars 335 forks source link

fix: fix array to string on passing DM object #200

Closed atymic closed 4 years ago

atymic commented 4 years ago

The new DM endpoints have nested arrays, but this library tries to concatenate them (assuming they are ids) which failed because they don't only contain strings.

This is a quick patch to fix that by checking the array actually only contains strings.

Closes #199