aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-07-23 18:14:02 -0400
committerDave Lawrence <dlawrence@mozilla.com>2012-07-23 18:14:02 -0400
commit8c5d6e253a72c941574165d2a9e147099ec7fb46 (patch)
tree90e1f286c7ad677e24ae757c3565eac5171db77c /attachment.cgi
parentBug 767308 - Bug id should be last field in URL query string (after list_id) (diff)
downloadbugzilla-8c5d6e253a72c941574165d2a9e147099ec7fb46.tar.gz
bugzilla-8c5d6e253a72c941574165d2a9e147099ec7fb46.tar.bz2
bugzilla-8c5d6e253a72c941574165d2a9e147099ec7fb46.zip
Bug 771107 - List of attachments in attachment details screen does not distinguish obsolete attachments
r=glob, a=LpSolit
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi2
1 files changed, 0 insertions, 2 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 16c964e47..e696c95a7 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -606,8 +606,6 @@ sub edit {
my $bugattachments =
Bugzilla::Attachment->get_attachments_by_bug($attachment->bug);
- # We only want attachment IDs.
- @$bugattachments = map { $_->id } @$bugattachments;
my $any_flags_requesteeble =
grep { $_->is_requestable && $_->is_requesteeble } @{$attachment->flag_types};