summaryrefslogtreecommitdiffstats
path: root/extensions/Ember/lib
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-11-12 23:59:39 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-11-12 23:59:39 +0100
commit31490aa96a5c9452f0315f6920e9171dae06049b (patch)
treeb888b5e6e08a657a9f568144faabaa0366b4d4ac /extensions/Ember/lib
parent87a8e85da1d7a6530db29863a9a6e02fd9b67e5d (diff)
downloadbugzilla-31490aa96a5c9452f0315f6920e9171dae06049b.tar.gz
bugzilla-31490aa96a5c9452f0315f6920e9171dae06049b.tar.xz
Bug 921219 - Include status and summary for bugs listed in `depends_on` and `blocks` fields
Diffstat (limited to 'extensions/Ember/lib')
-rw-r--r--extensions/Ember/lib/WebService.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Ember/lib/WebService.pm b/extensions/Ember/lib/WebService.pm
index 0e9505fb8..7c2efaabc 100644
--- a/extensions/Ember/lib/WebService.pm
+++ b/extensions/Ember/lib/WebService.pm
@@ -182,7 +182,7 @@ sub show {
|| $field->{name} eq 'blocks')
&& scalar @{ $bug_hash->{$field->{name}} })
{
- my $bug_ids = $bug_hash->{$field->{name}};
+ my $bug_ids = delete $bug_hash->{$field->{name}};
$user->visible_bugs($bug_ids);
my $bug_objs = Bugzilla::Bug->new_from_list($bug_ids);