From 90f6e932e23ec82dd31149a118661a91f51a5e90 Mon Sep 17 00:00:00 2001 From: "jouni%heikniemi.net" <> Date: Sun, 30 May 2004 22:52:12 +0000 Subject: Bug 223541: Make flags show up correctly in "View all attachments" mode. r=joel a=justdave --- attachment.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'attachment.cgi') 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; -- cgit v1.2.3-24-g4f1b