From ca721c979535302b4a84add860ec41968639e5e0 Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" <> Date: Tue, 29 Aug 2000 01:29:22 +0000 Subject: fix for 21583: Buzilla attachments should say what kind of file they are --- bug_form.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bug_form.pl') diff --git a/bug_form.pl b/bug_form.pl index 3216ba42f..c59a00d10 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -304,15 +304,15 @@ if (@::legal_keywords) { } print "Attachments:\n"; -SendSQL("select attach_id, creation_ts, description from attachments where bug_id = $id"); +SendSQL("select attach_id, creation_ts, mimetype, description from attachments where bug_id = $id"); while (MoreSQLData()) { - my ($attachid, $date, $desc) = (FetchSQLData()); + my ($attachid, $date, $mimetype, $desc) = (FetchSQLData()); if ($date =~ /^(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { $date = "$3/$4/$2 $5:$6"; } my $link = "showattachment.cgi?attach_id=$attachid"; $desc = value_quote($desc); - print qq{$date$desc}; + print qq{$date$desc   ($mimetype)}; } print "Create a new attachment (proposed patch, testcase, etc.)\n"; -- cgit v1.2.3-24-g4f1b