getjump / VkApiPHP

[Abandoned] Library for work with API Vk.com
MIT License
201 stars 53 forks source link

Fix Invalid argument supplied for foreach() #16

Closed distroid closed 8 years ago

distroid commented 8 years ago

Hello, I fix error "Invalid argument supplied for foreach()"

The error occurs if the API returns an empty result, for example when dealing with the answers on pages (count \ offset)