diff options
author | dklawren <dklawren@users.noreply.github.com> | 2017-07-20 15:24:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-20 15:24:03 +0200 |
commit | 608ec172071f5adfe8eba9c83d42668520a2baea (patch) | |
tree | 31bddc6b3f6b20f845b0475f8a608fa0a22b1e60 /extensions/PhabBugz | |
parent | 88db0c1c23619f76bdb4493ff6fad7deaecae139 (diff) | |
download | bugzilla-608ec172071f5adfe8eba9c83d42668520a2baea.tar.gz bugzilla-608ec172071f5adfe8eba9c83d42668520a2baea.tar.xz |
Bug 1380727 - Update BMO Push Connector to Make Revisions Public when Bug Made Public
Diffstat (limited to 'extensions/PhabBugz')
-rw-r--r-- | extensions/PhabBugz/lib/WebService.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/PhabBugz/lib/WebService.pm b/extensions/PhabBugz/lib/WebService.pm index a8312dc8e..217ed18dc 100644 --- a/extensions/PhabBugz/lib/WebService.pm +++ b/extensions/PhabBugz/lib/WebService.pm @@ -50,8 +50,8 @@ sub revision { # Obtain more information about the revision from Phabricator my $revision_id = $params->{revision}; - my $revisions = get_revisions_by_ids([$revision_id]); - my $revision = $revisions->[0]; + my @revisions = get_revisions_by_ids([$revision_id]); + my $revision = $revisions[0]; my $revision_phid = $revision->{phid}; my $revision_title = $revision->{fields}{title} || 'Unknown Description'; |