-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when requesting additional fields #101
Comments
Hi @tacman, would you be interested in submitting another PR to fix this? |
Can you point me in the right direction? For the project I was working on, I simply filtered them after retrieving. |
It seems like the error is caused by the code expecting the 'source' key to exist. In your example you're filtering fields and 'source' isn't one of those included. Perhaps a change like this might be sufficient to fix the issue: - if ($version['source']) {
+ if (!empty($version['source'])) { |
That's what I did in #102, but it wasn't enough. |
Generates an error because source isn't set in $version:
I'll submit a PR
The text was updated successfully, but these errors were encountered: