diff options
author | dklawren <dklawren@users.noreply.github.com> | 2018-02-28 16:00:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 16:00:05 +0100 |
commit | 828eed60025b20f5908b195d135c3f4cab59ef7d (patch) | |
tree | 08e355f6958caa9b0b9e063fcf90adfee0053115 /extensions/PhabBugz/bin | |
parent | 5e1c968d4fbbe5e39432978de601f197a7a539bd (diff) | |
download | bugzilla-828eed60025b20f5908b195d135c3f4cab59ef7d.tar.gz bugzilla-828eed60025b20f5908b195d135c3f4cab59ef7d.tar.xz |
Bug 1437384 - phabbugz_feed.pl in PhabBugz extension should be extended to also query for new users in Phab
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 { |