summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-05-11 08:15:08 +0200
committerterry%mozilla.org <>1999-05-11 08:15:08 +0200
commitc0ed55895db8642b64b58b6d902f7085d2ca757e (patch)
treea11a8d4d3f2bc751f5f1b2518752cc24f461eddc /process_bug.cgi
parenta1c55275b03a1c5fe5dcc27af02c65a0f99e1650 (diff)
downloadbugzilla-c0ed55895db8642b64b58b6d902f7085d2ca757e.tar.gz
bugzilla-c0ed55895db8642b64b58b6d902f7085d2ca757e.tar.xz
Oops; back out last change; was checked in by mistake (and with the wrong log comment, too).
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi19
1 files changed, 8 insertions, 11 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index c671a90c2..fc425a199 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -226,17 +226,13 @@ SWITCH: for ($::FORM{'knob'}) {
exit;
}
if ($::FORM{'dup_id'} == $::FORM{'id'}) {
- print "Nice try, $::FORM{'who'}. But it doesn't really make sense to mark a\n";
+ print "Nice try. But it doesn't really make sense to mark a\n";
print "bug as a duplicate of itself, does it?\n";
exit;
}
AppendComment($::FORM{'dup_id'}, $::FORM{'who'}, "*** Bug $::FORM{'id'} has been marked as a duplicate of this bug. ***");
$::FORM{'comment'} .= "\n\n*** This bug has been marked as a duplicate of $::FORM{'dup_id'} ***";
-
- print "<TABLE BORDER=1><TD><H2>Notation added to bug $::FORM{'dup_id'}</H2>\n";
- system("./processmail $::FORM{'dup_id'} $::FORM{'who'}");
- print "<TD><A HREF=\"show_bug.cgi?id=$::FORM{'dup_id'}\">Go To BUG# $::FORM{'dup_id'}</A></TABLE>\n";
-
+ system("./processmail $::FORM{'dup_id'} < /dev/null > /dev/null 2> /dev/null &");
last SWITCH;
};
# default
@@ -331,19 +327,20 @@ foreach my $id (@idlist) {
}
}
- print "<TABLE BORDER=1><TD><H2>Changes to bug $id submitted</H2>\n";
- SendSQL("unlock tables");
- system("./processmail $id $::FORM{'who'}");
+ print "<TABLE BORDER=1><TD><H1>Changes Submitted</H1>\n";
print "<TD><A HREF=\"show_bug.cgi?id=$id\">Back To BUG# $id</A></TABLE>\n";
+
+ SendSQL("unlock tables");
+
+ system("./processmail $id < /dev/null > /dev/null 2> /dev/null &");
}
if (defined $::next_bug) {
- print("<P>The next bug in your list is:\n");
$::FORM{'id'} = $::next_bug;
print "<HR>\n";
navigation_header();
do "bug_form.pl";
} else {
- navigation_header();
+ print "<BR><A HREF=\"query.cgi\">Back To Query Page</A>\n";
}