summaryrefslogtreecommitdiffstats
path: root/createattachment.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-05-11 08:12:49 +0200
committerterry%mozilla.org <>1999-05-11 08:12:49 +0200
commita1c55275b03a1c5fe5dcc27af02c65a0f99e1650 (patch)
treefe26976977f8555c51831403a6da7d6f916ac700 /createattachment.cgi
parent2154a3e1137e8888d7f4a313bed7914018dde4d8 (diff)
downloadbugzilla-a1c55275b03a1c5fe5dcc27af02c65a0f99e1650.tar.gz
bugzilla-a1c55275b03a1c5fe5dcc27af02c65a0f99e1650.tar.xz
Remember the 'changedin' field when memorizing queries.
Diffstat (limited to 'createattachment.cgi')
-rwxr-xr-xcreateattachment.cgi13
1 files changed, 4 insertions, 9 deletions
diff --git a/createattachment.cgi b/createattachment.cgi
index 80dff3520..225efc02f 100755
--- a/createattachment.cgi
+++ b/createattachment.cgi
@@ -97,16 +97,11 @@ What kind of file is this?
my $attachid = FetchOneColumn();
AppendComment($id, $::COOKIE{"Bugzilla_login"},
"Created an attachment (id=$attachid)\n$desc\n");
- print "Your attachment has been created.";
- system("./processmail $id < /dev/null > /dev/null 2> /dev/null &");
-
+ print "<TABLE BORDER=1><TD><H2>Attachment to bug $id created</H2>\n";
+ system("./processmail $id $::COOKIE{'Bugzilla_login'}");
+ print "<TD><A HREF=\"show_bug.cgi?id=$id\">Go Back to BUG# $id</A></TABLE>\n";
}
+navigation_header();
-
-print qq{
-<P>
-<a href="show_bug.cgi?id=$id">Go back to bug $id</a><br>
-<a href="query.cgi">Go back to the query page</a><br>
-};