summaryrefslogtreecommitdiffstats
path: root/extensions/PhabBugz/lib/Util.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/PhabBugz/lib/Util.pm')
-rw-r--r--extensions/PhabBugz/lib/Util.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/PhabBugz/lib/Util.pm b/extensions/PhabBugz/lib/Util.pm
index a00e20551..1f2b21d55 100644
--- a/extensions/PhabBugz/lib/Util.pm
+++ b/extensions/PhabBugz/lib/Util.pm
@@ -327,7 +327,7 @@ sub get_members_by_bmo_id {
my $result = get_phab_bmo_ids({ ids => [ map { $_->id } @$users ] });
my @phab_ids;
- foreach my $user (@{ $result->{result} }) {
+ foreach my $user (@$result) {
push(@phab_ids, $user->{phid})
if ($user->{phid} && $user->{phid} =~ /^PHID-USER/);
}
@@ -341,7 +341,7 @@ sub get_members_by_phid {
my $result = get_phab_bmo_ids({ phids => $phids });
my @bmo_ids;
- foreach my $user (@{ $result->{result} }) {
+ foreach my $user (@$result) {
push(@bmo_ids, $user->{id})
if ($user->{phid} && $user->{phid} =~ /^PHID-USER/);
}