diff options
Diffstat (limited to 'Bugzilla/Flag.pm')
-rw-r--r-- | Bugzilla/Flag.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index ef8ecd867..8a3199003 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -716,8 +716,8 @@ sub FormToNewFlags { # Get a list of active flag types available for this target. my $flag_types = Bugzilla::FlagType::match( { 'target_type' => $target->{'type'}, - 'product_id' => $target->{'product_id'}, - 'component_id' => $target->{'component_id'}, + 'product_id' => $target->{'bug'}->{'product_id'}, + 'component_id' => $target->{'bug'}->{'component_id'}, 'is_active' => 1 }); my @flags; |