aboutsummaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2004-05-30 22:52:12 +0000
committerjouni%heikniemi.net <>2004-05-30 22:52:12 +0000
commit90f6e932e23ec82dd31149a118661a91f51a5e90 (patch)
treef8a0bd844a535c4d6e1e60ef145f6dc2b3c3209c /attachment.cgi
parent15ca6f2c2edc03a15adf06374015edbfb0a58ecb (diff)
downloadbugs-90f6e932e23ec82dd31149a118661a91f51a5e90.tar
bugs-90f6e932e23ec82dd31149a118661a91f51a5e90.tar.gz
bugs-90f6e932e23ec82dd31149a118661a91f51a5e90.tar.bz2
bugs-90f6e932e23ec82dd31149a118661a91f51a5e90.tar.xz
bugs-90f6e932e23ec82dd31149a118661a91f51a5e90.zip
Bug 223541: Make flags show up correctly in "View all attachments" mode.
r=joel a=justdave
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 83a910ee0..c1e8f9dd0 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -768,6 +768,7 @@ sub viewall
$a{'description'}, $a{'ispatch'}, $a{'isobsolete'}, $a{'isprivate'},
$a{'datasize'}) = FetchSQLData();
$a{'isviewable'} = isViewable($a{'contenttype'});
+ $a{'flags'} = Bugzilla::Flag::match({ 'attach_id' => $a{'attachid'} });
# Add the hash representing the attachment to the array of attachments.
push @attachments, \%a;