Skip to content

Commit

Permalink
Bug 1368901 - get_phab_members_by_bmo_id() throws error from Phabrica…
Browse files Browse the repository at this point in the history
…tor when no users are part of the bmo group
  • Loading branch information
dklawren committed May 28, 2017
1 parent 316a5ce commit 9b98e5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extensions/PhabBugz/bin/update_project_members.pl
Expand Up @@ -61,7 +61,10 @@
}

# Get the internal user ids for the bugzilla group members
my $phab_user_ids = get_phab_members_by_bmo_id(\@users);
my $phab_user_ids = [];
if (@users) {
$phab_user_ids = get_phab_members_by_bmo_id(\@users);
}

# Set the project members to the exact list
set_phab_project_members($project_id, $phab_user_ids);
Expand Down

0 comments on commit 9b98e5f

Please sign in to comment.