diff options
author | myk%mozilla.org <> | 2001-10-31 08:42:21 +0100 |
---|---|---|
committer | myk%mozilla.org <> | 2001-10-31 08:42:21 +0100 |
commit | 2b77f7466f51a1248e7cb8af45f41d812ddef8f8 (patch) | |
tree | cad615fdf1d42f5e01f6d855ff326575fd872aaa /Bugzilla | |
parent | 5fd4cf4381e34c57a6b1dcc7ea3fa57d8f42d0cf (diff) | |
download | bugzilla-2b77f7466f51a1248e7cb8af45f41d812ddef8f8.tar.gz bugzilla-2b77f7466f51a1248e7cb8af45f41d812ddef8f8.tar.xz |
Fix for bug 98602: re-implementation of "create attachment" page.
Patch by Myk Melez <myk@mozilla.org>.
r=gerv@mozilla.org,jake@acutex.net
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Attachment.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 15ff3a1f3..9f46fd083 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -72,16 +72,13 @@ sub list my @attachments = (); while (&::MoreSQLData()) { my %a; - ($a{'attachid'}, $a{'date'}, $a{'mimetype'}, $a{'description'}, $a{'ispatch'}, $a{'isobsolete'}) = &::FetchSQLData(); + ($a{'attachid'}, $a{'date'}, $a{'contenttype'}, $a{'description'}, $a{'ispatch'}, $a{'isobsolete'}) = &::FetchSQLData(); # Format the attachment's creation/modification date into something readable. if ($a{'date'} =~ /^(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { $a{'date'} = "$3/$4/$2 $5:$6"; } - # Quote HTML characters (&<>) in the description so they display correctly. - $a{'description'} = &::value_quote($a{'description'}); - # Retrieve a list of status flags that have been set on the attachment. &::PushGlobalSQLState(); &::SendSQL(" |