diff options
Diffstat (limited to 'extensions/PhabBugz')
-rwxr-xr-x | extensions/PhabBugz/bin/update_project_members.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/PhabBugz/bin/update_project_members.pl b/extensions/PhabBugz/bin/update_project_members.pl index 712368d2d..56c471fe8 100755 --- a/extensions/PhabBugz/bin/update_project_members.pl +++ b/extensions/PhabBugz/bin/update_project_members.pl @@ -61,7 +61,10 @@ foreach my $group (@$sync_groups) { } # 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); |