Skip to content

Add is_array check in IssueService::addAttachments #55

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

Merged
merged 2 commits into from
Jan 20, 2017

Conversation

say1hello
Copy link
Contributor

Add is_array check in \JiraRestApi\Issue\IssueService::addAttachments method.

Sometimes I'm getting an error from netresearch/jsonmapper/src/JsonMapper.php:350 with message 'Invalid argument supplied for foreach()'

Add is_array check in \JiraRestApi\Issue\IssueService::addAttachments method
Add is_array check in \JiraRestApi\Issue\IssueService::addAttachments method
@lesstif lesstif merged commit 07fe4e8 into lesstif:master Jan 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants