Skip to content
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

Check that terminus_jobs_list() returns truthy before iterating #189

Merged
merged 1 commit into from
Oct 31, 2014

Conversation

iamEAP
Copy link
Contributor

@iamEAP iamEAP commented Oct 30, 2014

Related to #188, but just a minor annoyance. PHP throws a warning when Terminus is unable to return a job list.

Invalid argument supplied for foreach() terminus.drush.inc:1754

Just need to account for terminus_jobs_list() returning FALSE.

@mikevanwinkle
Copy link
Contributor

Agreed ... this looks good

mikevanwinkle added a commit that referenced this pull request Oct 31, 2014
Check that terminus_jobs_list() returns truthy before iterating
@mikevanwinkle mikevanwinkle merged commit 35a9739 into pantheon-deprecated:master Oct 31, 2014
@iamEAP iamEAP deleted the invalid-arg branch October 31, 2014 17:47
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