summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-01-09 22:01:11 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-01-09 22:01:11 +0100
commitfc00589a935d888db49ca4d45675102f1affacd0 (patch)
treeda99ccc4803ccb292daf4037a8f19b92d0fd5a54 /Bugzilla/Attachment.pm
parent23df227af3c7e2d1e9aaefda9ff2b4fd45546ac3 (diff)
downloadbugzilla-fc00589a935d888db49ca4d45675102f1affacd0.tar.gz
bugzilla-fc00589a935d888db49ca4d45675102f1affacd0.tar.xz
715477: Inactive but set flags are no longer visible when editing a bug
https://bugzilla.mozilla.org/show_bug.cgi?id=715477
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r--Bugzilla/Attachment.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index 2a89678c5..5ac71412c 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -504,7 +504,8 @@ sub flag_types {
my $vars = { target_type => 'attachment',
product_id => $self->bug->product_id,
component_id => $self->bug->component_id,
- attach_id => $self->id };
+ attach_id => $self->id,
+ active_or_has_flags => $self->bug_id };
$self->{flag_types} = Bugzilla::Flag->_flag_types($vars);
return $self->{flag_types};