clickrain / EE_Twitter

EE Add-on that uses oAuth to display Twitter Feed
Other
48 stars 18 forks source link

Twitter::_fetch_data() returns FALSE instead of array() #50

Open croxton opened 8 years ago

croxton commented 8 years ago

Given that the various calls to _fetch_data() expect an array in return, this method should return an empty array instead of FALSE when no data is received, to prevent error notices. (No data may be received if the cURL call times out or the Twitter account has no tweets or doesn't exist)