]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1481893 - After recent push of bug 1478897 bug/revision syncing has been broken...
authordklawren <dklawren@users.noreply.github.com>
Wed, 8 Aug 2018 18:33:56 +0000 (14:33 -0400)
committerGitHub <noreply@github.com>
Wed, 8 Aug 2018 18:33:56 +0000 (14:33 -0400)
extensions/PhabBugz/lib/Feed.pm

index 7a5e8d6d6018f91d7036724447487a717a47c185..8e7290988086c787faeb62d98c515b2cdf234c76 100644 (file)
@@ -413,7 +413,7 @@ sub process_revision_change {
     else {
         # Here we create a new custom policy containing the project
         # groups that are mapped to bugzilla groups.
-        my $set_project_names = [ map { "bmo-" . $_ } @{ $bug->groups_in } ];
+        my $set_project_names = [ map { "bmo-" . $_->name } @{ $bug->groups_in } ];
 
         # If current policy projects matches what we want to set, then
         # we leave the current policy alone.