summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bug_form.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/bug_form.pl b/bug_form.pl
index f0ad8e377..0e6b4547d 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -214,6 +214,7 @@ sub show_bug {
foreach my $flag_type (@$flag_types) {
$flag_type->{'flags'} =
Bugzilla::Flag::match({ 'bug_id' => $id ,
+ 'type_id' => $flag_type->{'id'} ,
'target_type' => 'bug' });
}
$vars->{'flag_types'} = $flag_types;