summaryrefslogtreecommitdiffstats
path: root/createattachment.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'createattachment.cgi')
-rwxr-xr-xcreateattachment.cgi13
1 files changed, 9 insertions, 4 deletions
diff --git a/createattachment.cgi b/createattachment.cgi
index 225efc02f..80dff3520 100755
--- a/createattachment.cgi
+++ b/createattachment.cgi
@@ -97,11 +97,16 @@ 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>
+};