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

Bug 1739625: Skip Phab API when filtering by an empty list of PHIDs #10

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

mitchhentges
Copy link

PhabricatorPeopleQuery() fails when withPHIDs([]) is called with
an empty list.
We can avoid this failure by immediately returnin [] if the $PHIDs
list is empty.

`PhabricatorPeopleQuery()` fails when `withPHIDs([])` is called with
an empty list.
We can avoid this failure by immediately returnin `[]` if the `$PHIDs`
list is empty.
@mitchhentges mitchhentges requested a review from dklawren November 5, 2021 15:09
@mitchhentges mitchhentges merged commit 191e3df into master Nov 5, 2021
@mitchhentges mitchhentges deleted the 1739625-empty-user-phids branch November 5, 2021 15:40
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