diff options
Diffstat (limited to 'extensions/PhabBugz/bin')
-rwxr-xr-x | extensions/PhabBugz/bin/update_project_members.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/PhabBugz/bin/update_project_members.pl b/extensions/PhabBugz/bin/update_project_members.pl index a0449a915..2a305da3d 100755 --- a/extensions/PhabBugz/bin/update_project_members.pl +++ b/extensions/PhabBugz/bin/update_project_members.pl @@ -65,10 +65,10 @@ foreach my $group (@$sync_groups) { }); } - my @group_members = get_group_members($group); - - $project->set_members(\@group_members); - $project->update(); + if (my @group_members = get_group_members($group)) { + $project->set_members(\@group_members); + $project->update(); + } } sub get_group_members { |